forked from ports/compat-32
24 lines
482 B
Plaintext
24 lines
482 B
Plaintext
# Description: GNU database library for C
|
|
# URL: http://www.gnu.org/software/gdbm/gdbm.html
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
|
|
name=gdbm-32
|
|
version=1.11
|
|
release=1
|
|
source=(http://ftp.gnu.org/gnu/gdbm/gdbm-$version.tar.gz)
|
|
|
|
build() {
|
|
export CC="${CC:-gcc} ${CFLAGS}"
|
|
|
|
cd gdbm-$version
|
|
|
|
./configure --prefix=/usr \
|
|
--libdir=/usr/lib32 \
|
|
--enable-libgdbm-compat
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/{bin,include,share}
|
|
}
|