wok-4.x annotate db/receipt @ rev 12471

Mass Rebuild of base packages
author Stanislas Leduc <shann@slitaz.org>
date Thu Nov 10 11:11:46 2022 +0000 (2022-11-10)
parents d5a3f5d2ac0e
children
rev   line source
pascal@1155 1 # SliTaz package receipt.
pascal@1155 2
pascal@1155 3 PACKAGE="db"
slaxemulator@6356 4 VERSION="4.8.26"
pascal@1423 5 CATEGORY="misc"
pascal@1155 6 SHORT_DESC="Berkeley database system."
pascal@1155 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@1155 8 TARBALL="$PACKAGE-$VERSION.NC.tar.gz"
pascal@1155 9 WEB_SITE="http://www.oracle.com/technology/software/products/berkeley-db/db/"
pascal@1155 10 WGET_URL="http://download.oracle.com/berkeley-db/$TARBALL"
slaxemulator@10298 11 TAGS="database"
slaxemulator@10298 12
slaxemulator@10298 13 DEPENDS="glibc-base libdb"
gokhlayeh@8176 14 BUILD_DEPENDS="gcc"
slaxemulator@10298 15
slaxemulator@10416 16 # Rules to compile & install the temporary toolchain.
slaxemulator@10416 17 cook_tmp_toolchain()
slaxemulator@10416 18 {
slaxemulator@10416 19 cd $src/build_unix
slaxemulator@10416 20 ../dist/configure --enable-compat185 &&
slaxemulator@10416 21 make && make install
slaxemulator@10416 22 }
pascal@1155 23
pascal@1155 24 # Rules to configure and make the package.
pascal@1155 25 compile_rules()
pascal@1155 26 {
shann@12471 27 # fix __atomic_compare_exchange name function
shann@12471 28 sed -i 's/__atomic_compare_exchange/__atomic_compare_exchange_db/g' \
shann@12471 29 $src/dbinc/atomic.h
shann@12471 30
gokhlayeh@8176 31 cd $src/build_unix
slaxemulator@10298 32 ../dist/configure --enable-compat185 \
slaxemulator@10298 33 $CONFIGURE_ARGS &&
slaxemulator@10298 34 make && make install
pascal@1155 35 }
pascal@1155 36
pascal@1155 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1155 38 genpkg_rules()
pascal@1155 39 {
pascal@4533 40 mkdir -p $fs/usr
pascal@1155 41 cp -a $_pkg/usr/bin $fs/usr
pascal@1155 42 }