summaryrefslogtreecommitdiff
path: root/emulators/libspectrum
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2003-09-16 09:46:51 +0000
committeradam <adam@pkgsrc.org>2003-09-16 09:46:51 +0000
commit5e923939b1a546ae68d30a0ace352d9adc3f09f7 (patch)
tree4d62267c1af7e190e185cf14230cfde7d09f897d /emulators/libspectrum
parent6bcfdb782fcaef3f2febe6037f427d2b30160406 (diff)
downloadpkgsrc-5e923939b1a546ae68d30a0ace352d9adc3f09f7.tar.gz
libspectrum is a library designed to make the input and output of some
ZX Spectrum emulator files slightly easier. It is intended to be usable on Unix variants, Win32 and MacOSX. Changes 0.2.0: * libspectrum 0.2.0 released. * Various data structures (snapshots, tapes, tape blocks) which were previously directly accessible are now accessible only via wrapper functions. This should improve future binary compatability, but at the cost of breaking it for this release (Philip Kendall). * Change the API for reading/writing snapshots to be more general. The old API still exists, but is deprecated (Philip Kendall). * Support for reading .szx, .zxs, .sp, .snp and +D snapshots (Philip Kendall). * Support for writing .szx and .sna snapshots (Philip Kendall). * Support for reading Warajevo .tap files (Fredrick Meunier). * Support for signing RZX files with digital signatures (Philip Kendall). * Timing fixes for the TC2048 and TC2068 (Fredrick Meunier). * Fix reading of 128K .sna snapshots (Philip Kendall). * New capabilities for the Timex dock, and built-in Sinclair and Kempston joysticks (Fredrick Meunier). * Use <stdint.h> to give us the <n>-bit types if it's available (Philip Kendall). * Ignore links to external snapshots from RZX files, rather than trying to interpret the path as a snapshot (Philip Kendall).
Diffstat (limited to 'emulators/libspectrum')
-rw-r--r--emulators/libspectrum/DESCR3
-rw-r--r--emulators/libspectrum/Makefile17
-rw-r--r--emulators/libspectrum/PLIST7
-rw-r--r--emulators/libspectrum/buildlink2.mk21
-rw-r--r--emulators/libspectrum/distinfo4
5 files changed, 52 insertions, 0 deletions
diff --git a/emulators/libspectrum/DESCR b/emulators/libspectrum/DESCR
new file mode 100644
index 00000000000..c807411d126
--- /dev/null
+++ b/emulators/libspectrum/DESCR
@@ -0,0 +1,3 @@
+libspectrum is a library designed to make the input and output of some
+ZX Spectrum emulator files slightly easier. It is intended to be usable
+on Unix variants, Win32 and MacOSX.
diff --git a/emulators/libspectrum/Makefile b/emulators/libspectrum/Makefile
new file mode 100644
index 00000000000..e8487b96177
--- /dev/null
+++ b/emulators/libspectrum/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/09/16 09:46:51 adam Exp $
+
+DISTNAME= libspectrum-0.2.0
+CATEGORIES= emulators
+MASTER_SITES= http://www.srcf.ucam.org/~pak21/spectrum/
+
+MAINTAINER= adam@NetBSD.org
+HOMEPAGE= http://www.srcf.ucam.org/~pak21/spectrum/libspectrum.html
+COMMENT= ZX Spectrum emulator file format library
+
+USE_BUILDLINK2= yes
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+LIBTOOL_OVERRIDE=${WRKSRC}/libtool
+
+.include "../../devel/glib/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/libspectrum/PLIST b/emulators/libspectrum/PLIST
new file mode 100644
index 00000000000..8cb1271fd26
--- /dev/null
+++ b/emulators/libspectrum/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/09/16 09:46:51 adam Exp $
+include/libspectrum.h
+lib/libspectrum.a
+lib/libspectrum.la
+lib/libspectrum.so
+lib/libspectrum.so.2
+lib/libspectrum.so.2.0
diff --git a/emulators/libspectrum/buildlink2.mk b/emulators/libspectrum/buildlink2.mk
new file mode 100644
index 00000000000..0e2f0a163a8
--- /dev/null
+++ b/emulators/libspectrum/buildlink2.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/09/16 09:46:51 adam Exp $
+
+.if !defined(LIBSPECTRUM_BUILDLINK2_MK)
+LIBSPECTRUM_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= libspectrum
+BUILDLINK_DEPENDS.libspectrum?= libspectrum>=0.1.0
+BUILDLINK_PKGSRCDIR.libspectrum?= ../../emulators/libspectrum
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.libspectrum=libspectrum
+BUILDLINK_PREFIX.libspectrum_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.libspectrum= include/libspectrum.h
+BUILDLINK_FILES.libspectrum+= lib/libspectrum.*
+
+.include "../../devel/glib/buildlink2.mk"
+
+BUILDLINK_TARGETS+= libspectrum-buildlink
+
+libspectrum-buildlink: _BUILDLINK_USE
+
+.endif # LIBSPECTRUM_BUILDLINK2_MK
diff --git a/emulators/libspectrum/distinfo b/emulators/libspectrum/distinfo
new file mode 100644
index 00000000000..285a7d6394a
--- /dev/null
+++ b/emulators/libspectrum/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/09/16 09:46:51 adam Exp $
+
+SHA1 (libspectrum-0.2.0.tar.gz) = b4b722bb5502c68c3c80325e0fde2101e0bf07f4
+Size (libspectrum-0.2.0.tar.gz) = 241273 bytes