summaryrefslogtreecommitdiff
path: root/db/Pkgfile
blob: 66a2f9a4c240e4ba600aa3966566408cb456b723 (plain)
    1 # Description: Berkeley DB
    2 # URL: https://www.oracle.com/technetwork/database/database-technologies/berkeleydb/
    3 # Maintainer: CRUX System Team, core-ports at crux dot nu
    4 
    5 name=db
    6 version=5.3.28
    7 release=2
    8 source=(https://download.oracle.com/berkeley-db/$name-$version.tar.gz
    9 	0001-atomic-Rename-local-__atomic_compare_exchange-to-avo.patch)
   10 
   11 build() {
   12 	cd $name-$version
   13 	patch -p1 -i $SRC/0001-atomic-Rename-local-__atomic_compare_exchange-to-avo.patch
   14 
   15 	cd build_unix
   16 	../dist/configure --prefix=/usr \
   17 		--enable-compat185 \
   18 		--enable-shared \
   19 		--enable-static \
   20 		--enable-cxx
   21 	make
   22 	make DESTDIR=$PKG install
   23 	rm -r $PKG/usr/docs
   24 	chmod -R +w $PKG
   25 }

Generated by cgit