wok-next annotate gdbm/receipt @ rev 20436

Update packages listed in the LFS book.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 21 19:48:17 2018 +0200 (2018-02-21)
parents 9a17d981d0f7
children a5d7827e08cf
rev   line source
al@19745 1 # SliTaz package receipt v2.
pascal@1436 2
pascal@1436 3 PACKAGE="gdbm"
al@20436 4 VERSION="1.13"
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"
al@20436 10 LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/gdbm.html"
pascal@1436 11
al@19571 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@19571 13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
al@19571 14
al@20436 15 BUILD_DEPENDS="gettext readline-dev"
al@19745 16 SPLIT="gdbm-tools gdbm-dev"
slaxemulator@10426 17
al@20436 18 compile_rules() {
al@19571 19 ./configure \
al@19571 20 --disable-static \
al@19571 21 --enable-libgdbm-compat \
al@19571 22 $CONFIGURE_ARGS &&
al@19571 23 make && make install
pascal@1436 24 }
pascal@1436 25
al@20436 26 genpkg_rules() {
al@19745 27 case $PACKAGE in
al@19745 28 gdbm)
al@19745 29 copy *.so*
al@20436 30 TAGS="LFS"
al@19745 31 ;;
al@19745 32 gdbm-tools)
al@19745 33 copy bin/
al@20436 34 DEPENDS="gdbm ncurses readline"
al@19745 35 CAT="misc|tools"
al@19745 36 ;;
al@19745 37 *-dev) copy @dev;;
al@19745 38 esac
pascal@1436 39 }