diff options
Diffstat (limited to 'gdbm')
-rw-r--r-- | gdbm/.footprint | 23 | ||||
-rw-r--r-- | gdbm/.md5sum | 2 | ||||
-rw-r--r-- | gdbm/.sha256sum | 2 | ||||
-rw-r--r-- | gdbm/Pkgfile | 23 | ||||
-rw-r--r-- | gdbm/Pkgfile.old | 25 | ||||
-rw-r--r-- | gdbm/gdbm-1.8.3-compat-linking.patch | 19 |
6 files changed, 94 insertions, 0 deletions
diff --git a/gdbm/.footprint b/gdbm/.footprint new file mode 100644 index 0000000..66ed6f0 --- /dev/null +++ b/gdbm/.footprint @@ -0,0 +1,23 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +lrwxrwxrwx root/root usr/include/gdbm.h -> gdbm/gdbm.h +drwxr-xr-x root/root usr/include/gdbm/ +-rw-r--r-- root/root usr/include/gdbm/dbm.h +-rw-r--r-- root/root usr/include/gdbm/gdbm.h +-rw-r--r-- root/root usr/include/gdbm/ndbm.h +drwxr-xr-x root/root usr/info/ +-rw-r--r-- root/root usr/info/gdbm.info +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libgdbm.a +-rwxr-xr-x root/root usr/lib/libgdbm.la +lrwxrwxrwx root/root usr/lib/libgdbm.so -> libgdbm.so.3.0.0 +lrwxrwxrwx root/root usr/lib/libgdbm.so.3 -> libgdbm.so.3.0.0 +-rwxr-xr-x root/root usr/lib/libgdbm.so.3.0.0 +-rw-r--r-- root/root usr/lib/libgdbm_compat.a +-rwxr-xr-x root/root usr/lib/libgdbm_compat.la +lrwxrwxrwx root/root usr/lib/libgdbm_compat.so -> libgdbm_compat.so.3.0.0 +lrwxrwxrwx root/root usr/lib/libgdbm_compat.so.3 -> libgdbm_compat.so.3.0.0 +-rwxr-xr-x root/root usr/lib/libgdbm_compat.so.3.0.0 +drwxr-xr-x root/root usr/man/ +drwxr-xr-x root/root usr/man/man3/ +-rw-r--r-- root/root usr/man/man3/gdbm.3.bz2 diff --git a/gdbm/.md5sum b/gdbm/.md5sum new file mode 100644 index 0000000..d5465f4 --- /dev/null +++ b/gdbm/.md5sum @@ -0,0 +1,2 @@ +13a8dfda02d8f0d1db1a982cd9950e7f gdbm-1.8.3-compat-linking.patch +1d1b1d5c0245b1c00aff92da751e9aa1 gdbm-1.8.3.tar.gz diff --git a/gdbm/.sha256sum b/gdbm/.sha256sum new file mode 100644 index 0000000..33cca8d --- /dev/null +++ b/gdbm/.sha256sum @@ -0,0 +1,2 @@ +832cfffff5d1cb26cf3f2618014e8e1ff4d30153f34abda8db074788abef7dac gdbm-1.8.3-compat-linking.patch +cc340338a2e28b40058ab9eb5354a21d53f88a1582ea21ba0bb185c37a281dc9 gdbm-1.8.3.tar.gz 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 +} 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 +} diff --git a/gdbm/gdbm-1.8.3-compat-linking.patch b/gdbm/gdbm-1.8.3-compat-linking.patch new file mode 100644 index 0000000..cebcf4e --- /dev/null +++ b/gdbm/gdbm-1.8.3-compat-linking.patch @@ -0,0 +1,19 @@ +Since libgdbm_compat uses libgdbm, make sure we link it in. + +http://bugs.gentoo.org/165263 + +--- gdbm-1.8.3/Makefile.in ++++ gdbm-1.8.3/Makefile.in +@@ -161,10 +161,10 @@ + $(LIBTOOL) --mode=link $(CC) -o libgdbm.la -rpath $(libdir) \ + -version-info $(SHLIB_VER) $(LOBJS) + +-libgdbm_compat.la: $(C_LOBJS) gdbm.h ++libgdbm_compat.la: $(C_LOBJS) gdbm.h libgdbm.la + rm -f libgdbm_compat.la + $(LIBTOOL) --mode=link $(CC) -o libgdbm_compat.la -rpath $(libdir) \ +- -version-info $(SHLIB_VER) $(C_LOBJS) ++ -version-info $(SHLIB_VER) $(C_LOBJS) libgdbm.la + + gdbm.h: gdbm.proto gdbmerrno.h gdbm.proto2 + rm -f gdbm.h |