blob: 2deddaddf6d5dc222129c8033c0a2d830d0b1338 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
description="Berkeley DB."
packager="CRUX System Team <core-ports AT crux DOT nu>"
maintainer="Lukc <lukc AT upyum DOT com>"
url="http://www.oracle.com/database/berkeley-db/index.html"
depends=()
name=db
version=4.8.30
release=1
source=(http://download.oracle.com/berkeley-db/db-4.8.30.tar.gz)
build ()
{
cd $name-$version/build_unix;
../dist/configure \
${CBUILD:+--build=${CBUILD}} \
${CHOST:+--host=${CHOST}} \
--prefix=$prefix \
--enable-compat185 \
--enable-shared \
--enable-static \
--enable-cxx;
make;
make DESTDIR=$PKG install;
rm -r $PKG/usr/docs;
chmod -R +w $PKG
}
|