wok-4.x view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="db"
4 VERSION="4.8.26"
5 CATEGORY="misc"
6 SHORT_DESC="Berkeley database system."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.NC.tar.gz"
9 WEB_SITE="http://www.oracle.com/technology/software/products/berkeley-db/db/"
10 WGET_URL="http://download.oracle.com/berkeley-db/$TARBALL"
11 TAGS="database"
13 DEPENDS="glibc-base libdb"
14 BUILD_DEPENDS="gcc"
16 # Rules to compile & install the temporary toolchain.
17 cook_tmp_toolchain()
18 {
19 cd $src/build_unix
20 ../dist/configure --enable-compat185 &&
21 make && make install
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 # fix __atomic_compare_exchange name function
28 sed -i 's/__atomic_compare_exchange/__atomic_compare_exchange_db/g' \
29 $src/dbinc/atomic.h
31 cd $src/build_unix
32 ../dist/configure --enable-compat185 \
33 $CONFIGURE_ARGS &&
34 make && make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr
41 cp -a $_pkg/usr/bin $fs/usr
42 }