wok-next annotate gdbm/receipt @ rev 21031
Random updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 03 15:42:26 2018 +0200 (2018-11-03) |
parents | e7a485521d6a |
children | 11ce8ed30848 |
rev | line source |
---|---|
al@19745 | 1 # SliTaz package receipt v2. |
pascal@1436 | 2 |
pascal@1436 | 3 PACKAGE="gdbm" |
al@20905 | 4 VERSION="1.16" |
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@21020 | 9 WEB_SITE="https://www.gnu.org/software/gdbm/" # How to avoid redirection to local GNU mirror? |
al@20905 | 10 LFS="http://www.linuxfromscratch.org/lfs/view/development/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@21020 | 15 BUILD_DEPENDS="gettext-dev readline-dev" |
al@21020 | 16 SPLIT="$PACKAGE-tools $PACKAGE-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 } |