wok-current view tokyocabinet/receipt @ rev 15001

Add some GPL2 licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 10 17:48:05 2013 +0000 (2013-08-10)
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 }