wok annotate tokyocabinet/receipt @ rev 18331
dropbear: add sshfbvnc (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 09 09:23:13 2015 +0200 (2015-09-09) |
parents | 76b72f1ad63c |
children | 86790a278e70 |
rev | line source |
---|---|
pascal@13591 | 1 # SliTaz package receipt. |
pascal@13591 | 2 |
pascal@13591 | 3 PACKAGE="tokyocabinet" |
pascal@13591 | 4 VERSION="1.4.32" |
pascal@13591 | 5 CATEGORY="development" |
pascal@13591 | 6 SHORT_DESC="High performance database library, successor of QDBM." |
pascal@13591 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
pascal@13591 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13591 | 10 WEB_SITE="http://sourceforge.net/projects/tokyocabinet" |
pascal@13591 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE/$VERSION/$TARBALL" |
pascal@13591 | 12 |
pascal@13591 | 13 DEPENDS="bzlib zlib" |
pascal@13591 | 14 BUILD_DEPENDS="bzip2-dev zlib-dev" |
pascal@13591 | 15 |
pascal@13591 | 16 # Rules to configure and make the package. |
pascal@13591 | 17 compile_rules() |
pascal@13591 | 18 { |
pascal@18188 | 19 ./configure --prefix=/usr \ |
pascal@18188 | 20 --enable-off64 \ |
pascal@18188 | 21 $CONFIGURE_ARGS && |
pascal@13591 | 22 make && |
pascal@13591 | 23 make DESTDIR=$DESTDIR install |
pascal@13591 | 24 } |
pascal@13591 | 25 |
pascal@13591 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13591 | 27 genpkg_rules() |
pascal@13591 | 28 { |
pascal@13591 | 29 mkdir -p $fs/usr/lib |
pascal@13591 | 30 cp -a $install/usr/bin $fs/usr |
pascal@13591 | 31 cp -a $install/usr/libexec $fs/usr |
pascal@13591 | 32 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@13591 | 33 } |