mirror of
https://github.com/pygos/build.git
synced 2024-11-22 11:09:46 +01:00
b1bdce20a9
Crunch project websites and try to find the latest version for each package without having to do the work manually. Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
37 lines
742 B
Text
Executable file
37 lines
742 B
Text
Executable file
VERSION="6.2.32"
|
|
SRCDIR="db-${VERSION}"
|
|
TARBALL="${SRCDIR}.tar.gz"
|
|
URL="http://download.oracle.com/berkeley-db/"
|
|
SHA256SUM="a9c5e2b004a5777aa03510cfe5cd766a4a3b777713406b02809c17c8e0e7a8fb"
|
|
DEPENDS="toolchain"
|
|
|
|
prepare() {
|
|
return
|
|
}
|
|
|
|
build() {
|
|
$1/dist/configure --prefix="" --host="$TARGET" --enable-compat185 \
|
|
--enable-dbm --disable-static --enable-cxx
|
|
|
|
make -j $NUMJOBS
|
|
}
|
|
|
|
deploy() {
|
|
local SOURCE="$1"
|
|
local DEPLOY="$2"
|
|
local DEVDEPLOY="$3"
|
|
|
|
make DESTDIR="$DEPLOY" install
|
|
|
|
chmod 755 ${DEPLOY}/bin/db_*
|
|
strip_files ${DEPLOY}/lib/*.so ${DEPLOY}/bin/db_*
|
|
|
|
rm -r "$DEPLOY/docs"
|
|
split_dev_deploy "$DEPLOY" "$DEVDEPLOY"
|
|
}
|
|
|
|
check_update() {
|
|
# we need to login to access newer versions
|
|
# ... because Oracle, thats why!
|
|
return
|
|
}
|