28 lines
728 B
Plaintext
28 lines
728 B
Plaintext
# Description: Berkeley DB
|
|
# URL: http://www.oracle.com/database/berkeley-db/index.html
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
|
|
name=db-32
|
|
version=5.3.28
|
|
release=2
|
|
source=(https://download.oracle.com/berkeley-db/db-$version.tar.gz
|
|
0001-atomic-Rename-local-__atomic_compare_exchange-to-avo.patch)
|
|
|
|
build() {
|
|
cd db-$version/build_unix
|
|
|
|
patch -p1 -d .. -i $SRC/0001-atomic-Rename-local-__atomic_compare_exchange-to-avo.patch
|
|
|
|
../dist/configure --prefix=/usr \
|
|
--libdir=/usr/lib32 \
|
|
--enable-compat185 \
|
|
--enable-shared \
|
|
--enable-static \
|
|
--enable-cxx
|
|
make
|
|
make DESTDIR=$PKG install
|
|
rm -r $PKG/usr/docs
|
|
chmod -R +w $PKG
|
|
rm -rf $PKG/usr/{bin,include}
|
|
}
|