wok-next annotate gdbm/receipt @ rev 20570

More fix libtool; audit: apply patch.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 13 09:28:50 2018 +0300 (2018-04-13)
parents 90a5eb560fd6
children e7a485521d6a
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@20570 23 fix libtool &&
al@20570 24 make &&
al@20570 25 make install
pascal@1436 26 }
pascal@1436 27
al@20436 28 genpkg_rules() {
al@19745 29 case $PACKAGE in
al@19745 30 gdbm)
al@19745 31 copy *.so*
al@20436 32 TAGS="LFS"
al@19745 33 ;;
al@19745 34 gdbm-tools)
al@19745 35 copy bin/
al@20436 36 DEPENDS="gdbm ncurses readline"
al@19745 37 CAT="misc|tools"
al@19745 38 ;;
al@19745 39 *-dev) copy @dev;;
al@19745 40 esac
pascal@1436 41 }