Commit | Line | Data |
---|---|---|
6dca1d21 JB |
1 | # Description: GNU database library for C |
2 | # URL: http://www.gnu.org/software/gdbm/gdbm.html | |
3 | # Maintainer: CRUX System Team, core-ports at crux dot nu | |
b751b192 | 4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
6dca1d21 JB |
5 | |
6 | name=gdbm | |
3ec249d9 JB |
7 | version=1.10 |
8 | release=1 | |
6dca1d21 JB |
9 | source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz) |
10 | ||
11 | build() { | |
12 | cd $name-$version | |
13 | ./configure --build=$CHOST \ | |
14 | --host=$CTARGET \ | |
3ec249d9 JB |
15 | --prefix=/usr \ |
16 | --mandir=/usr/man \ | |
17 | --enable-libgdbm-compat | |
18 | make | |
19 | make DESTDIR=$PKG install | |
20 | rm -r $PKG/usr/share | |
6dca1d21 | 21 | } |