wok-next annotate gdbm/receipt @ rev 20343

unbound: create /var/lib/unbound
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 17 18:18:29 2017 +0100 (2017-11-17)
parents 8da249b2c8d7
children 90a5eb560fd6
rev   line source
al@19745 1 # SliTaz package receipt v2.
pascal@1436 2
pascal@1436 3 PACKAGE="gdbm"
al@19571 4 VERSION="1.12"
pascal@1436 5 CATEGORY="misc"
al@19745 6 SHORT_DESC="GNU database manager"
pascal@1436 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14999 8 LICENSE="GPL3"
al@19571 9 WEB_SITE="https://www.gnu.org/software/gdbm"
pankso@16042 10 HOST_ARCH="i486 arm"
pascal@1436 11
al@19571 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@19571 13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
al@19571 14
al@19571 15 BUILD_DEPENDS="gettext"
al@19745 16 SPLIT="gdbm-tools gdbm-dev"
slaxemulator@10426 17
pascal@1436 18 # Rules to configure and make the package.
pascal@1436 19 compile_rules()
pascal@1436 20 {
al@19571 21 ./configure \
al@19571 22 --disable-static \
al@19571 23 --enable-libgdbm-compat \
al@19571 24 $CONFIGURE_ARGS &&
al@19571 25 make && make install
pascal@1436 26 }
pascal@1436 27
pascal@1436 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1436 29 genpkg_rules()
pascal@1436 30 {
al@19745 31 case $PACKAGE in
al@19745 32 gdbm)
al@19745 33 copy *.so*
al@19745 34 ;;
al@19745 35 gdbm-tools)
al@19745 36 copy bin/
al@19745 37 CAT="misc|tools"
al@19745 38 ;;
al@19745 39 *-dev) copy @dev;;
al@19745 40 esac
pascal@1436 41 }