summaryrefslogtreecommitdiffstats
path: root/gdbm/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'gdbm/Pkgfile')
-rw-r--r--gdbm/Pkgfile23
1 files changed, 23 insertions, 0 deletions
diff --git a/gdbm/Pkgfile b/gdbm/Pkgfile
new file mode 100644
index 0000000..5ccb5ff
--- /dev/null
+++ b/gdbm/Pkgfile
@@ -0,0 +1,23 @@
+description="GNU database library for C."
+packager="CRUX System Team <core-ports AT crux DOT nu>"
+maintainer="Lukc <lukc AT upyum DOT com>"
+url="http://www.gnu.org/software/gdbm/gdbm.html"
+depends=()
+
+name=gdbm
+version=1.8.3
+release=2
+source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz $name-$version-compat-linking.patch)
+build ()
+{
+ cd $name-$version;
+ patch -p1 -i $SRC/$name-$version-compat-linking.patch;
+ ./configure --prefix=$prefix --includedir=$prefix/include/gdbm;
+ make;
+ make -j1 INSTALL_ROOT=$PKG install install-compat;
+ ln -sf gdbm/gdbm.h $PKG/usr/include/gdbm.h;
+ #if ! use info; then
+ # rm -r $PKG/usr/info;
+ #fi
+ chown -R root.root $PKG
+}