core/db/Pkgfile
Tilman Sauerbeck 19a01ffb11 db: don't try to download the patches from the oracle website.
The download is broken currently, so we add the patches to the port.
2010-08-30 10:19:40 +02:00

26 lines
704 B
Plaintext

# Description: Berkeley DB
# URL: http://www.oracle.com/database/berkeley-db/index.html
# Maintainer: CRUX System Team, core-ports at crux dot nu
name=db
version=4.7.25
release=4
source=(http://download.oracle.com/berkeley-db/$name-$version.tar.gz \
patch.$version.{1,2,3,4})
build() {
cd $name-$version
cat $SRC/patch.$version.{1,2,3,4} | patch -p0
cd build_unix
LDFLAGS="-lpthread" \
../dist/configure --prefix=/usr \
--enable-compat185 \
--enable-shared \
--enable-static \
--enable-cxx
make
make DESTDIR=$PKG install
rm -r $PKG/usr/docs
chmod -R +w $PKG
}