CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
e2fsprogs: updated to 1.42.13 and updated mandir
[crossrootfs.git] / db / Pkgfile
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
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
5 # Depends on:
6
7 name=db
8 version=5.3.28
9 release=1
10 source=(http://download.oracle.com/berkeley-db/$name-$version.tar.gz)
11
12 build() {
13 cd $name-$version/build_unix
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 }