wok-next view gdbm/receipt @ rev 20459
Combine receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 02 13:45:43 2018 +0200 (2018-03-02) |
parents | 9a17d981d0f7 |
children | a5d7827e08cf |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gdbm"
4 VERSION="1.13"
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/stable/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 make && make install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 gdbm)
29 copy *.so*
30 TAGS="LFS"
31 ;;
32 gdbm-tools)
33 copy bin/
34 DEPENDS="gdbm ncurses readline"
35 CAT="misc|tools"
36 ;;
37 *-dev) copy @dev;;
38 esac
39 }