wok-6.x annotate tokyocabinet/receipt @ rev 16476
ARM: add python-routes + python-serial (but main python dont cook anymore)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 22 22:49:42 2014 +0200 (2014-04-22) |
parents | 4aed2b24febc |
children | 8657d6782d45 |
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@13591 | 19 cd $src |
pascal@13591 | 20 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@13591 | 21 make && |
pascal@13591 | 22 make DESTDIR=$DESTDIR install |
pascal@13591 | 23 } |
pascal@13591 | 24 |
pascal@13591 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13591 | 26 genpkg_rules() |
pascal@13591 | 27 { |
pascal@13591 | 28 mkdir -p $fs/usr/lib |
pascal@13591 | 29 cp -a $install/usr/bin $fs/usr |
pascal@13591 | 30 cp -a $install/usr/libexec $fs/usr |
pascal@13591 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@13591 | 32 } |