summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragc <agc>1998-11-11 12:47:22 +0000
committeragc <agc>1998-11-11 12:47:22 +0000
commitca54c38dc01a7bbc14abac924a422d14da0aba36 (patch)
tree4642958373acdf74936b2b28fd30c2024bff6fff
parent085de99c8b566c26a1632d6e632408112632a15b (diff)
downloadpkgsrc-ca54c38dc01a7bbc14abac924a422d14da0aba36.tar.gz
Import of chkpt-1.6.1, a user-level checkpointing library by Alexandre
Wennmacher (wennmach@geo.Uni-Koeln.DE), into the NetBSD Packages Collection.
-rw-r--r--devel/chkpt/Makefile21
-rw-r--r--devel/chkpt/files/md53
-rw-r--r--devel/chkpt/patches/patch-aa47
-rw-r--r--devel/chkpt/pkg/COMMENT1
-rw-r--r--devel/chkpt/pkg/DESCR7
-rw-r--r--devel/chkpt/pkg/PLIST9
6 files changed, 88 insertions, 0 deletions
diff --git a/devel/chkpt/Makefile b/devel/chkpt/Makefile
new file mode 100644
index 00000000000..0f466f2b501
--- /dev/null
+++ b/devel/chkpt/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 1998/11/11 12:47:22 agc Exp $
+#
+
+DISTNAME= chkpt-1.6.1
+CATEGORIES= devel
+MASTER_SITES= ftp://gutemine.geo.uni-koeln.de/pub/chkpt/ \
+ ftp://ftp.Uni-Koeln.DE/misc/
+
+MAINTAINER= packages@netbsd.org
+#HOMEPAGE=
+
+ALL_TARGET= libcc.a
+
+post-patch:
+ @cd ${WRKSRC}/utils; \
+ for f in ccc-NetBSD cf77-NetBSD; do \
+ ${MV} $$f $$f.in; \
+ ${SED} -e 's|/usr/local|${PREFIX}|g' $$f.in > $$f; \
+ done
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/chkpt/files/md5 b/devel/chkpt/files/md5
new file mode 100644
index 00000000000..eec734af9bc
--- /dev/null
+++ b/devel/chkpt/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1998/11/11 12:47:22 agc Exp $
+
+MD5 (chkpt-1.6.1.tar.gz) = 3c3554dc253dbc15889a5edee296f32b
diff --git a/devel/chkpt/patches/patch-aa b/devel/chkpt/patches/patch-aa
new file mode 100644
index 00000000000..7c10f11b7d3
--- /dev/null
+++ b/devel/chkpt/patches/patch-aa
@@ -0,0 +1,47 @@
+$NetBSD: patch-aa,v 1.1.1.1 1998/11/11 12:47:23 agc Exp $
+
+Enable the NetBSD settings.
+
+--- Makefile.orig Sun Nov 8 19:53:07 1998
++++ Makefile Sun Nov 8 19:54:24 1998
+@@ -1,19 +1,19 @@
+ # Site specific stuff:
+-BINDIR = /usr/local/bin
+-LIBDIR = /usr/local/lib
+-MANDIR = /usr/local/man/man3
+-INCDIR = /usr/local/include
++BINDIR = ${PREFIX}/bin
++LIBDIR = ${PREFIX}/lib
++MANDIR = ${PREFIX}/man/man3
++INCDIR = ${PREFIX}/include
+
+ # NetBSD:
+-#CCC = utils/ccc-NetBSD
+-#CF77 = utils/cf77-NetBSD
+-#CFLAGS = -O -Wall -DEBUG -DIAGNOSTIC -I../include
+-#INSTALL = /usr/bin/install -c
+-#FFLAGS = -O
+-#LDFLAGS = -nostdlib -static /usr/lib/crt0.o
+-#LINKCLIBS = -lgcc ../build/libcc.a -lgcc
+-#LINKFLIBS = -lgcc -lf2c ../build/libcc.a -lgcc
+-#RANLIB = /usr/bin/ranlib
++CCC = utils/ccc-NetBSD
++CF77 = utils/cf77-NetBSD
++CFLAGS = -O -Wall -DIAGNOSTIC -I../include
++INSTALL = /usr/bin/install -c
++FFLAGS = -O
++LDFLAGS = -nostdlib -static /usr/lib/crt0.o
++LINKCLIBS = -lgcc ../build/libcc.a -lgcc
++LINKFLIBS = -lgcc -lf2c ../build/libcc.a -lgcc
++RANLIB = /usr/bin/ranlib
+ # End of NetBSD section
+
+ # Digital Unix:
+@@ -52,6 +52,7 @@
+ $(INSTALL) -m 755 -g bin -o bin $(CF77) $(BINDIR)/cf77
+ -$(MKDIR) $(LIBDIR)
+ $(INSTALL) -m 444 -g bin -o bin build/libcc.a $(LIBDIR)
++ ${RANLIB} ${LIBDIR}/libcc.a
+ -$(MKDIR) $(MANDIR)
+ $(INSTALL) -m 444 -g bin -o bin man/chkpt.3 $(MANDIR)
+ $(LN) $(MANDIR)/chkpt.3 $(MANDIR)/chkpt_init.3
diff --git a/devel/chkpt/pkg/COMMENT b/devel/chkpt/pkg/COMMENT
new file mode 100644
index 00000000000..1a0e0ba4c3a
--- /dev/null
+++ b/devel/chkpt/pkg/COMMENT
@@ -0,0 +1 @@
+A user-level checkpointing library
diff --git a/devel/chkpt/pkg/DESCR b/devel/chkpt/pkg/DESCR
new file mode 100644
index 00000000000..a8cfd8602bf
--- /dev/null
+++ b/devel/chkpt/pkg/DESCR
@@ -0,0 +1,7 @@
+Chkpt provides a simple interface (C and Fortran) to user-level
+checkpointing. ``Checkpointing'' describes the action to periodically
+save process information on permanent storage (on hard disk,
+typically). After a system failure a process may be continued from
+the saved state, from the checkpoint.
+
+Author: Alexandre Wennmacher (wennmach@geo.Uni-Koeln.DE)
diff --git a/devel/chkpt/pkg/PLIST b/devel/chkpt/pkg/PLIST
new file mode 100644
index 00000000000..92ad1eb2592
--- /dev/null
+++ b/devel/chkpt/pkg/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1998/11/11 12:47:23 agc Exp $
+bin/ccc
+bin/cf77
+lib/libcc.a
+man/man3/chkpt.3
+man/man3/chkpt_init.3
+man/man3/chkpt_timer.3
+man/man3/chkpt_exit.3
+include/chkpt.h