diff options
author | Lukc <lukc@upyum.com> | 2010-12-11 19:15:23 +0100 |
---|---|---|
committer | Lukc <lukc@upyum.com> | 2010-12-11 19:15:35 +0100 |
commit | 6d908a38e05b9d4135c65d23114a5874215b5bb8 (patch) | |
tree | b5e6da6d95b9a1235d82032b509b80483a886ff5 /gdbm | |
download | base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.gz base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.bz2 base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.xz base-6d908a38e05b9d4135c65d23114a5874215b5bb8.zip |
Engagement initial.
Diffstat (limited to 'gdbm')
-rw-r--r-- | gdbm/.footprint | 21 | ||||
-rw-r--r-- | gdbm/.md5sum | 2 | ||||
-rw-r--r-- | gdbm/Pkgfile | 21 | ||||
-rw-r--r-- | gdbm/Pkgfile.old | 25 | ||||
-rw-r--r-- | gdbm/gdbm-1.8.3-compat-linking.patch | 19 |
5 files changed, 88 insertions, 0 deletions
diff --git a/gdbm/.footprint b/gdbm/.footprint new file mode 100644 index 0000000..31f481d --- /dev/null +++ b/gdbm/.footprint @@ -0,0 +1,21 @@ +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/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.gz 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/Pkgfile b/gdbm/Pkgfile new file mode 100644 index 0000000..047a55a --- /dev/null +++ b/gdbm/Pkgfile @@ -0,0 +1,21 @@ +description="GNU database library for C" +packager="" +maintainer="CRUX System Team, core-ports at crux dot nu" +url="http://www.gnu.org/software/gdbm/gdbm.html" +depends=() + +name=gdbm +version=1.8.3 +release=2 +source=(http://ftp.gnu.org/gnu/gdbm/gdbm-1.8.3.tar.gz gdbm-1.8.3-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/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 |