wok view tokyocabinet/receipt @ rev 16264
Add some any arch packages
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 05 10:12:34 2014 +0000 (2014-04-05) |
parents | 4aed2b24febc |
children | 8657d6782d45 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tokyocabinet"
4 VERSION="1.4.32"
5 CATEGORY="development"
6 SHORT_DESC="High performance database library, successor of QDBM."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://sourceforge.net/projects/tokyocabinet"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE/$VERSION/$TARBALL"
13 DEPENDS="bzlib zlib"
14 BUILD_DEPENDS="bzip2-dev zlib-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $install/usr/bin $fs/usr
30 cp -a $install/usr/libexec $fs/usr
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 }