# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
name=gdbm
-version=1.8.3
+version=1.11
release=1
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
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
}