wok-6.x annotate tokyocabinet/receipt @ rev 13861
rrdtool: use lua5.1
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 11 19:14:13 2013 +0100 (2013-01-11) |
parents | |
children | 76b72f1ad63c |
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@13591 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13591 | 9 WEB_SITE="http://sourceforge.net/projects/tokyocabinet" |
pascal@13591 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE/$VERSION/$TARBALL" |
pascal@13591 | 11 |
pascal@13591 | 12 DEPENDS="bzlib zlib" |
pascal@13591 | 13 BUILD_DEPENDS="bzip2-dev zlib-dev" |
pascal@13591 | 14 |
pascal@13591 | 15 # Rules to configure and make the package. |
pascal@13591 | 16 compile_rules() |
pascal@13591 | 17 { |
pascal@13591 | 18 cd $src |
pascal@13591 | 19 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@13591 | 20 make && |
pascal@13591 | 21 make DESTDIR=$DESTDIR install |
pascal@13591 | 22 } |
pascal@13591 | 23 |
pascal@13591 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13591 | 25 genpkg_rules() |
pascal@13591 | 26 { |
pascal@13591 | 27 mkdir -p $fs/usr/lib |
pascal@13591 | 28 cp -a $install/usr/bin $fs/usr |
pascal@13591 | 29 cp -a $install/usr/libexec $fs/usr |
pascal@13591 | 30 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@13591 | 31 } |