wok-next view tokyocabinet/receipt @ rev 20214

xchat: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 05 08:49:55 2017 +0100 (2017-11-05)
parents 8657d6782d45
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="tokyocabinet"
4 VERSION="1.4.32"
5 CATEGORY="development"
6 SHORT_DESC="High performance database library, successor of QDBM"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2"
9 WEB_SITE="https://sourceforge.net/projects/tokyocabinet/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE/$VERSION/$TARBALL"
14 BUILD_DEPENDS="bzip2-dev zlib-dev"
15 SPLIT="tokyocabinet-dev"
17 compile_rules() {
18 ./configure \
19 --enable-off64 \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 genpkg_rules() {
26 case $PACKAGE in
27 tokyocabinet)
28 copy @std
29 DEPENDS="bzlib zlib"
30 ;;
31 *-dev)
32 copy @dev
33 DEPENDS="tokyocabinet bzip2-dev zlib-dev"
34 ;;
35 esac
36 }