blob: 047a55a36a9e0a54fa8ca4807f3f376d19683d58 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
}
|