wok-current annotate tokyocabinet/receipt @ rev 23951
taziso/bootusbkey: up to 2TB
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 21 09:52:25 2020 +0000 (2020-09-21) |
parents | 86790a278e70 |
children | 7c0170dd3ecc |
rev | line source |
---|---|
pascal@13591 | 1 # SliTaz package receipt. |
pascal@13591 | 2 |
pascal@13591 | 3 PACKAGE="tokyocabinet" |
Hans-G?nter@22040 | 4 VERSION="1.4.48" |
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" |
Hans-G?nter@22040 | 9 WEB_SITE="https://fallabs.com/tokyocabinet/" |
Hans-G?nter@22040 | 10 |
pascal@13591 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22040 | 12 WGET_URL="${WEB_SITE}$TARBALL" |
pascal@13591 | 13 |
pascal@13591 | 14 DEPENDS="bzlib zlib" |
pascal@13591 | 15 BUILD_DEPENDS="bzip2-dev zlib-dev" |
pascal@13591 | 16 |
pascal@13591 | 17 # Rules to configure and make the package. |
pascal@13591 | 18 compile_rules() |
pascal@13591 | 19 { |
Hans-G?nter@22040 | 20 ./configure \ |
Hans-G?nter@22040 | 21 --prefix=/usr \ |
Hans-G?nter@22040 | 22 --enable-off64 \ |
pascal@18188 | 23 $CONFIGURE_ARGS && |
pascal@13591 | 24 make && |
pascal@13591 | 25 make DESTDIR=$DESTDIR install |
pascal@13591 | 26 } |
pascal@13591 | 27 |
pascal@13591 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13591 | 29 genpkg_rules() |
pascal@13591 | 30 { |
pascal@13591 | 31 mkdir -p $fs/usr/lib |
Hans-G?nter@22040 | 32 |
Hans-G?nter@22040 | 33 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22040 | 34 cp -a $install/usr/libexec $fs/usr |
Hans-G?nter@22040 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@13591 | 36 } |