core/db/Pkgfile

26 lines
773 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: Berkeley DB
2008-09-16 21:39:59 +02:00
# URL: http://www.oracle.com/database/berkeley-db/index.html
# Maintainer: CRUX System Team, core-ports at crux dot nu
2006-02-23 16:26:10 +01:00
name=db
2008-09-16 21:39:59 +02:00
version=4.7.25
2009-01-21 10:09:55 +01:00
release=2
2006-10-13 16:46:56 +02:00
source=(http://download.oracle.com/berkeley-db/$name-$version.tar.gz \
2009-01-21 10:09:55 +01:00
http://www.oracle.com/technology/products/berkeley-db/db/update/$version/patch.$version.{1,2,3})
2006-02-23 16:26:10 +01:00
build() {
2006-02-23 18:25:10 +01:00
cd $name-$version
2009-01-21 10:09:55 +01:00
cat $SRC/patch.$version.{1,2,3} | patch -p0
2006-02-23 18:25:10 +01:00
cd build_unix
2006-02-23 16:26:10 +01:00
LDFLAGS="-lpthread" \
../dist/configure --prefix=/usr \
2008-09-16 21:39:59 +02:00
--enable-compat185 \
--enable-shared \
--enable-static \
--enable-cxx
2006-02-23 16:26:10 +01:00
make
make DESTDIR=$PKG install
2008-09-16 21:39:59 +02:00
rm -r $PKG/usr/docs
2006-02-23 16:26:10 +01:00
chmod -R +w $PKG
}