drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/testgdbm
drwxr-xr-x root/root usr/include/
-rw-r--r-- root/root usr/include/dbm.h
-rw-r--r-- root/root usr/include/gdbm.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
+lrwxrwxrwx root/root usr/lib/libgdbm.so -> libgdbm.so.4.0.0
+lrwxrwxrwx root/root usr/lib/libgdbm.so.4 -> libgdbm.so.4.0.0
+-rwxr-xr-x root/root usr/lib/libgdbm.so.4.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
+lrwxrwxrwx root/root usr/lib/libgdbm_compat.so -> libgdbm_compat.so.4.0.0
+lrwxrwxrwx root/root usr/lib/libgdbm_compat.so.4 -> libgdbm_compat.so.4.0.0
+-rwxr-xr-x root/root usr/lib/libgdbm_compat.so.4.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
# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
name=gdbm
-version=1.8.3
-release=3
+version=1.10
+release=1
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
build() {
cd $name-$version
./configure --build=$CHOST \
--host=$CTARGET \
- --prefix=/usr
- make prefix=/usr
- make prefix=$PKG/usr install
- make prefix=$PKG/usr install-compat
- rm -rf $PKG/usr/info
- chown -R root.root $PKG
+ --prefix=/usr \
+ --mandir=/usr/man \
+ --enable-libgdbm-compat
+ make
+ make DESTDIR=$PKG install
+ rm -r $PKG/usr/share
}