summaryrefslogtreecommitdiff
path: root/gdbm
diff options
context:
space:
mode:
Diffstat (limited to 'gdbm')
-rw-r--r--gdbm/Makefile19
-rw-r--r--gdbm/libgdbm.p5m14
-rw-r--r--gdbm/libgdbm4.p5m10
3 files changed, 43 insertions, 0 deletions
diff --git a/gdbm/Makefile b/gdbm/Makefile
new file mode 100644
index 0000000..63ad645
--- /dev/null
+++ b/gdbm/Makefile
@@ -0,0 +1,19 @@
+include /usr/share/cibs/rules/64.mk
+include /usr/share/cibs/rules/archive.mk
+include /usr/share/cibs/rules/autotools.mk
+include /usr/share/cibs/rules/ips.mk
+
+summary := GNU dbm database
+license := GPL v3+
+license-file := COPYING
+
+name := gdbm
+home := http://directory.fsf.org/project/gdbm/
+version := 1.10
+archive := $(name)-$(version).tar.gz
+download := ftp://ftp.gnu.org/gnu/$(name)/$(archive)
+checksum := \
+ md5:88770493c2559dc80b561293e39d3570 \
+ sha1:441201e9145f590ba613f8a1e952455d620e0860 \
+ sha256:23f8134c5b94bbfb06d756a6b78f074fba6e6028cf2fe01341d40b26db773441 \
+ size:655599
diff --git a/gdbm/libgdbm.p5m b/gdbm/libgdbm.p5m
new file mode 100644
index 0000000..47de1a9
--- /dev/null
+++ b/gdbm/libgdbm.p5m
@@ -0,0 +1,14 @@
+set name=pkg.fmri value=pkg:/library/libgdbm@$(ips-version)
+set name=pkg.summary value="$(summary)"
+set name=info.upstream-url value="$(home)"
+set name=info.source-url value="$(download)"
+
+license $(license-file) license="$(license)"
+
+depend fmri=pkg:/library/libgdbm4@$(ips-version) type=require
+depend fmri=pkg:/library/libgdbm4@$(ips-version) type=incorporate
+
+file path=usr/include/gdbm.h
+file path=usr/share/info/gdbm.info
+file path=usr/share/man/man3/gdbm.3
+link path=usr/lib/$(mach64)/libgdbm.so target=libgdbm.so.4
diff --git a/gdbm/libgdbm4.p5m b/gdbm/libgdbm4.p5m
new file mode 100644
index 0000000..ff9ab86
--- /dev/null
+++ b/gdbm/libgdbm4.p5m
@@ -0,0 +1,10 @@
+set name=pkg.fmri value=pkg:/library/libgdbm4@$(ips-version)
+set name=pkg.summary value="$(summary), shared library"
+set name=info.upstream-url value="$(home)"
+set name=info.source-url value="$(download)"
+
+license $(license-file) license="$(license)"
+
+file path=usr/lib/$(mach64)/libgdbm.so.4.0.0
+link path=usr/lib/$(mach64)/libgdbm.so.4 target=libgdbm.so.4.0.0
+