net subsection package build files Upgraded base/rust to 1.64.0 Added cbindgen 0.24.3 to base Upgraded base/gdbm to 1.23 Added -mno-outline-atomics as CXXFLAGS to fix build breakage in base/gpgme Fixed rc.gtk script in base/initfs Added preservestaticlibs to prevent static libraries from being discarded and upgraded base/libcap to 2.67 Upgraded base/nodejs to 18.14.2 Temporarily discarded unnecessary code and comments in installpkg script in base/pkgtools Added protobuf 3.14.0 to base Upgraded base/python3 to 3.9.16 Upgraded base/sccache to 0.3.3 Upgraded extra/abiword to 3.0.5 Added adafruit-io 2.7.0 to extra Added code to discard creation of systemd directory in extra/bluez Added code to discard /usr directory in extra/ffmpeg Removed unnecessary CFLAGS in extra/freerdp Upgraded extra/imagemagick to 7.1.0 Upgraded extra/vim to 9.0.1000 Added build option to disable linking against gtk2 in extra/xarchiver Upgraded heavybuilds/firefox to 102.8.0 ESR, discarded extraneous files that were part of it Upgraded net/fail2ban to 1.0.2 Discarded unnecessary CFLAGS in net/lynx Optimised build code in net/maccalc Fixed noautoconfsite variable and added --disable-xxhash build option to net/rsync Removed unnecessary CFLAGS in xorg/libtiff and xorg/libxklavier
55 lines
1.3 KiB
Text
Executable file
55 lines
1.3 KiB
Text
Executable file
app=db
|
|
version=6.2.23
|
|
build=2sml
|
|
homepage="https://www.oracle.com/database/technologies/related/berkeleydb.html"
|
|
download="http://download.oracle.com/berkeley-db/db-$version.tar.gz"
|
|
desc="Berkeley embedded database library"
|
|
requires="gcc-libs"
|
|
|
|
prepbuilddir() {
|
|
mkandenterbuilddir
|
|
rm -rf $app-$version
|
|
|
|
tar xf $srcdir/$app-$version.tar.?z*
|
|
cd $app-$version
|
|
fixbuilddirpermissions
|
|
|
|
applypatch $srcdir/bdb-configure.patch
|
|
}
|
|
|
|
build() {
|
|
if [ "$arch" = "aarch64" ]; then
|
|
db_atomic=gcc-builtin
|
|
else
|
|
db_atomic=x86/gcc-assembly
|
|
fi
|
|
|
|
cd build_unix
|
|
|
|
db_cv_clock_monotonic=yes \
|
|
db_cv_build_sequence=yes \
|
|
db_cv_mmap_extend=yes \
|
|
db_cv_atomic="$db_atomic" \
|
|
../dist/configure \
|
|
--prefix="" \
|
|
--libdir=/lib \
|
|
--enable-shared \
|
|
--disable-static \
|
|
--enable-dbm \
|
|
--enable-cxx
|
|
|
|
sed -i 's/^install_docs:/install_docs:\n\ttrue\ninstall_crap:/' Makefile
|
|
|
|
make
|
|
make install DESTDIR=$pkg
|
|
|
|
cd ..
|
|
cp LICENSE $pkgdocs/
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
sha512sums="
|
|
beb17661a44a4bb3feb3e95d6670599087fe38dd604f3902f90bf0336dc1d823adc7f56be854a55caa995f1503681896842ecfcd3dd668e47370c624255bd4ee db-6.2.23.tar.lz
|
|
8a91a6ff079792bf36efc11302140eef857019ab8e66058e39ea8b9a81dc2b4837fe2941b380343cf74e219d800eba2a08194d5b76fb48afc9cf0a599f1bf919 bdb-configure.patch
|
|
"
|