wok-next view gdbm/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 90a5eb560fd6 |
children | e7a485521d6a |
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 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 }