2018-01-15 13:30:51 +01:00
|
|
|
VERSION="6.2.32"
|
|
|
|
SRCDIR="db-${VERSION}"
|
|
|
|
TARBALL="${SRCDIR}.tar.gz"
|
|
|
|
URL="http://download.oracle.com/berkeley-db/"
|
|
|
|
SHA256SUM="a9c5e2b004a5777aa03510cfe5cd766a4a3b777713406b02809c17c8e0e7a8fb"
|
2018-02-15 23:47:54 +01:00
|
|
|
DEPENDS="toolchain"
|
2018-01-15 13:30:51 +01:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2018-02-16 23:22:04 +01:00
|
|
|
$1/dist/configure --prefix="" --host="$TARGET" --enable-compat185 \
|
|
|
|
--enable-dbm --disable-static --enable-cxx
|
2018-01-15 13:30:51 +01:00
|
|
|
|
|
|
|
make -j $NUMJOBS
|
|
|
|
}
|
|
|
|
|
|
|
|
deploy() {
|
|
|
|
local SOURCE="$1"
|
2018-02-16 23:22:04 +01:00
|
|
|
local DEPLOY="$2"
|
2018-01-15 13:30:51 +01:00
|
|
|
|
|
|
|
make DESTDIR="$DEPLOY" install
|
2018-06-16 17:46:17 +02:00
|
|
|
cp "$SCRIPTDIR/pkg/$PKGNAME/rootfs_files.txt" "$DEPLOY"
|
2018-02-15 14:24:53 +01:00
|
|
|
chmod 755 ${DEPLOY}/bin/db_*
|
2018-01-15 13:30:51 +01:00
|
|
|
rm -r "$DEPLOY/docs"
|
|
|
|
}
|
2018-05-06 17:23:31 +02:00
|
|
|
|
|
|
|
check_update() {
|
|
|
|
# we need to login to access newer versions
|
|
|
|
# ... because Oracle, thats why!
|
|
|
|
return
|
|
|
|
}
|