wok-next diff 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 diff
1.1 --- a/tokyocabinet/receipt Wed Jul 08 12:20:47 2015 +0200 1.2 +++ b/tokyocabinet/receipt Sun Nov 05 08:49:55 2017 +0100 1.3 @@ -1,33 +1,36 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="tokyocabinet" 1.8 VERSION="1.4.32" 1.9 CATEGORY="development" 1.10 -SHORT_DESC="High performance database library, successor of QDBM." 1.11 +SHORT_DESC="High performance database library, successor of QDBM" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 -LICENSE="LGPL2.1" 1.14 +LICENSE="LGPL2" 1.15 +WEB_SITE="https://sourceforge.net/projects/tokyocabinet/" 1.16 + 1.17 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.18 -WEB_SITE="http://sourceforge.net/projects/tokyocabinet" 1.19 WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE/$VERSION/$TARBALL" 1.20 1.21 -DEPENDS="bzlib zlib" 1.22 BUILD_DEPENDS="bzip2-dev zlib-dev" 1.23 +SPLIT="tokyocabinet-dev" 1.24 1.25 -# Rules to configure and make the package. 1.26 -compile_rules() 1.27 -{ 1.28 - ./configure --prefix=/usr \ 1.29 +compile_rules() { 1.30 + ./configure \ 1.31 --enable-off64 \ 1.32 $CONFIGURE_ARGS && 1.33 make && 1.34 make DESTDIR=$DESTDIR install 1.35 } 1.36 1.37 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.38 -genpkg_rules() 1.39 -{ 1.40 - mkdir -p $fs/usr/lib 1.41 - cp -a $install/usr/bin $fs/usr 1.42 - cp -a $install/usr/libexec $fs/usr 1.43 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.44 +genpkg_rules() { 1.45 + case $PACKAGE in 1.46 + tokyocabinet) 1.47 + copy @std 1.48 + DEPENDS="bzlib zlib" 1.49 + ;; 1.50 + *-dev) 1.51 + copy @dev 1.52 + DEPENDS="tokyocabinet bzip2-dev zlib-dev" 1.53 + ;; 1.54 + esac 1.55 }