wok-next annotate 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 |
rev | line source |
---|---|
al@19957 | 1 # SliTaz package receipt v2. |
pascal@13591 | 2 |
pascal@13591 | 3 PACKAGE="tokyocabinet" |
pascal@13591 | 4 VERSION="1.4.32" |
pascal@13591 | 5 CATEGORY="development" |
al@19957 | 6 SHORT_DESC="High performance database library, successor of QDBM" |
pascal@13591 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
al@19957 | 8 LICENSE="LGPL2" |
al@19957 | 9 WEB_SITE="https://sourceforge.net/projects/tokyocabinet/" |
al@19957 | 10 |
pascal@13591 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13591 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE/$VERSION/$TARBALL" |
pascal@13591 | 13 |
pascal@13591 | 14 BUILD_DEPENDS="bzip2-dev zlib-dev" |
al@19957 | 15 SPLIT="tokyocabinet-dev" |
pascal@13591 | 16 |
al@19957 | 17 compile_rules() { |
al@19957 | 18 ./configure \ |
pascal@18188 | 19 --enable-off64 \ |
pascal@18188 | 20 $CONFIGURE_ARGS && |
pascal@13591 | 21 make && |
pascal@13591 | 22 make DESTDIR=$DESTDIR install |
pascal@13591 | 23 } |
pascal@13591 | 24 |
al@19957 | 25 genpkg_rules() { |
al@19957 | 26 case $PACKAGE in |
al@19957 | 27 tokyocabinet) |
al@19957 | 28 copy @std |
al@19957 | 29 DEPENDS="bzlib zlib" |
al@19957 | 30 ;; |
al@19957 | 31 *-dev) |
al@19957 | 32 copy @dev |
al@19957 | 33 DEPENDS="tokyocabinet bzip2-dev zlib-dev" |
al@19957 | 34 ;; |
al@19957 | 35 esac |
pascal@13591 | 36 } |