CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
wget: disabled rpath. Thanks j_v
[crossrootfs.git] / db / Pkgfile
CommitLineData
6dca1d21
JB
1# Description: Berkeley DB
2# URL: http://www.oracle.com/database/berkeley-db/index.html
3# Maintainer: CRUX System Team, core-ports at crux dot nu
b751b192 4# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
6dca1d21
JB
5# Depends on:
6
7name=db
d5f0d592 8version=5.3.28
1d65f91e
VM
9release=1
10source=(http://download.oracle.com/berkeley-db/$name-$version.tar.gz)
6dca1d21
JB
11
12build() {
1d65f91e 13 cd $name-$version/build_unix
6dca1d21
JB
14 LDFLAGS="-lpthread" \
15 ../dist/configure --build=$CHOST \
16 --host=$CTARGET \
17 --prefix=/usr \
18 --enable-compat185 \
19 --enable-shared \
20 --enable-static \
21 --enable-cxx
22 make
23 make DESTDIR=$PKG install
24 rm -r $PKG/usr/docs
25 chmod -R +w $PKG
26}