wok-next view gdbm/receipt @ rev 20905

Update packages from ISO and LFS backages (all but toolchain)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Aug 07 00:30:45 2018 +0300 (2018-08-07)
parents a5d7827e08cf
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gdbm"
4 VERSION="1.16"
5 CATEGORY="misc"
6 SHORT_DESC="GNU database manager"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.gnu.org/software/gdbm"
10 LFS="http://www.linuxfromscratch.org/lfs/view/development/chapter06/gdbm.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="gettext readline-dev"
16 SPLIT="gdbm-tools gdbm-dev"
18 compile_rules() {
19 ./configure \
20 --disable-static \
21 --enable-libgdbm-compat \
22 $CONFIGURE_ARGS &&
23 fix libtool &&
24 make &&
25 make install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 gdbm)
31 copy *.so*
32 TAGS="LFS"
33 ;;
34 gdbm-tools)
35 copy bin/
36 DEPENDS="gdbm ncurses readline"
37 CAT="misc|tools"
38 ;;
39 *-dev) copy @dev;;
40 esac
41 }