blob: dccd6d9267fb08422048867cf75b89eca6250553 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
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 \
${CHOST:+--build=${CHOST}} \
${CTARGET:+--host=${CTARGET}} \
--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
}
|