From 6d908a38e05b9d4135c65d23114a5874215b5bb8 Mon Sep 17 00:00:00 2001 From: Lukc Date: Sat, 11 Dec 2010 19:15:23 +0100 Subject: Engagement initial. --- gdbm/Pkgfile.old | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 gdbm/Pkgfile.old (limited to 'gdbm/Pkgfile.old') diff --git a/gdbm/Pkgfile.old b/gdbm/Pkgfile.old new file mode 100644 index 0000000..e510d80 --- /dev/null +++ b/gdbm/Pkgfile.old @@ -0,0 +1,25 @@ +# Description: GNU database library for C +# URL: http://www.gnu.org/software/gdbm/gdbm.html +# Maintainer: CRUX System Team, core-ports at crux dot nu + +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=/usr \ + --includedir=/usr/include/gdbm + + make + make -j1 INSTALL_ROOT=$PKG install install-compat + ln -sf gdbm/gdbm.h $PKG/usr/include/gdbm.h + + rm -r $PKG/usr/info + chown -R root.root $PKG +} -- cgit v1.2.3-70-g09d2