diff options
author | drochner <drochner> | 1999-06-23 18:18:53 +0000 |
---|---|---|
committer | drochner <drochner> | 1999-06-23 18:18:53 +0000 |
commit | b17869cf3dddaccbd8b926f8a8d28197112b6e97 (patch) | |
tree | eb4e1a16faeebf0285a8aae3aa8fbb5d0148b951 /misc | |
parent | 02226a3650eda136b19b9987fa5132652fe5b20e (diff) | |
download | pkgsrc-b17869cf3dddaccbd8b926f8a8d28197112b6e97.tar.gz |
add chipmunk-1.4:
shell-like tool for hardware debugging
Diffstat (limited to 'misc')
-rw-r--r-- | misc/chipmunk/Makefile | 22 | ||||
-rw-r--r-- | misc/chipmunk/files/md5 | 3 | ||||
-rw-r--r-- | misc/chipmunk/patches/patch-aa | 13 | ||||
-rw-r--r-- | misc/chipmunk/patches/patch-ab | 30 | ||||
-rw-r--r-- | misc/chipmunk/pkg/COMMENT | 1 | ||||
-rw-r--r-- | misc/chipmunk/pkg/DESCR | 6 | ||||
-rw-r--r-- | misc/chipmunk/pkg/PLIST | 2 |
7 files changed, 77 insertions, 0 deletions
diff --git a/misc/chipmunk/Makefile b/misc/chipmunk/Makefile new file mode 100644 index 00000000000..d406e8f729f --- /dev/null +++ b/misc/chipmunk/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1.1.1 1999/06/23 18:18:53 drochner Exp $ +# + +DISTNAME= chipmunk-1.4 +CATEGORIES= misc +MASTER_SITES= http://www.bitwizard.nl/chipmunk/ + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://www.bitwizard.nl/chipmunk/index.html + +DEPENDS+= readline-2.2:../../devel/readline + +ONLY_FOR_PLATFORM= NetBSD-*-i386 + +ALL_TARGET= chipmunk +MAKE_FLAGS= CONFIG_OPTIONS=-I$(PREFIX)/include \ + LDFLAGS=-L$(PREFIX)/lib EXTRA_LIBS=-li386 + +do-install: + $(INSTALL_PROGRAM) $(WRKSRC)/chipmunk $(PREFIX)/sbin/chipmunk + +.include "../../mk/bsd.pkg.mk" diff --git a/misc/chipmunk/files/md5 b/misc/chipmunk/files/md5 new file mode 100644 index 00000000000..b52106d40ce --- /dev/null +++ b/misc/chipmunk/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 1999/06/23 18:18:56 drochner Exp $ + +MD5 (chipmunk-1.4.tar.gz) = 25cc9fc70ec62d6da4a1f28ebbab2188 diff --git a/misc/chipmunk/patches/patch-aa b/misc/chipmunk/patches/patch-aa new file mode 100644 index 00000000000..1252378677e --- /dev/null +++ b/misc/chipmunk/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 1999/06/23 18:18:55 drochner Exp $ + +--- Makefile.orig Wed Jun 23 16:49:36 1999 ++++ Makefile Wed Jun 23 16:50:15 1999 +@@ -30,7 +30,7 @@ + # on succesful compilations. + + chipmunk: $(OBJS) version +- $(CC) $(CFLAGS) $(OBJS) $(LIBS) $(EXTRA_LIBS) -o $@ ++ $(CC) $(LDFLAGS) $(OBJS) $(LIBS) $(EXTRA_LIBS) -o $@ + + chipmunk.hp: $(OBJS) version + $(CC) $(CFLAGS) $(OBJS) $(LIBS) $(EXTRA_LIBS) -o $@ diff --git a/misc/chipmunk/patches/patch-ab b/misc/chipmunk/patches/patch-ab new file mode 100644 index 00000000000..232688e0277 --- /dev/null +++ b/misc/chipmunk/patches/patch-ab @@ -0,0 +1,30 @@ +$NetBSD: patch-ab,v 1.1.1.1 1999/06/23 18:18:55 drochner Exp $ + +--- config.h.orig Wed Jun 23 16:52:58 1999 ++++ config.h Wed Jun 23 18:09:29 1999 +@@ -108,6 +108,25 @@ + # define USE_TESTS + #endif + ++#ifdef __NetBSD__ ++# define OPSYS "NetBSD" ++# define USE_UNISTD ++# define USE_CBREAK ++# define USE_MMAP ++# define USE_SIGNALS ++# define USE_WAIT ++# define UNIX ++# define USE_ALLOCA ++# define USE_READLINE ++# define USE_MEMTEST ++# define USE_TESTS ++# define USE_SIGNAL_H ++# define IN_OUT_INSTRUCTIONS ++# define my_ioperm(x,y,z) i386_iopl(1) ++ ++#define SIGNAL_FUNCTION_CAST (void (*)()) ++#endif ++ + /* + * Here starts the section that provides defaults for most systems, that + * can be overridden for a specific OS/compiler. diff --git a/misc/chipmunk/pkg/COMMENT b/misc/chipmunk/pkg/COMMENT new file mode 100644 index 00000000000..5ae7a2ec480 --- /dev/null +++ b/misc/chipmunk/pkg/COMMENT @@ -0,0 +1 @@ +shell-like tool for hardware debugging diff --git a/misc/chipmunk/pkg/DESCR b/misc/chipmunk/pkg/DESCR new file mode 100644 index 00000000000..c90a34b35ca --- /dev/null +++ b/misc/chipmunk/pkg/DESCR @@ -0,0 +1,6 @@ +Chipmunk is a language for writing short programs to perform +application specific hardware manipulation tasks. + +It is specifically good at debugging hardware because you +can interactively search for good ways to access your hardware, and +then record it in a macro as documentation and fast repetition. diff --git a/misc/chipmunk/pkg/PLIST b/misc/chipmunk/pkg/PLIST new file mode 100644 index 00000000000..f4b9deb7ec9 --- /dev/null +++ b/misc/chipmunk/pkg/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 1999/06/23 18:18:56 drochner Exp $ +sbin/chipmunk |