wok annotate tokyocabinet/receipt @ rev 25443
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 03 09:28:15 2022 +0000 (2022-09-03) |
parents | 7c0170dd3ecc |
children |
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" |
pascal@24781 | 9 WEB_SITE="https://www.dbmx.net/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@24535 | 17 # What is the latest version available today? |
pascal@24535 | 18 current_version() |
pascal@24535 | 19 { |
pascal@24535 | 20 wget -O - https://dbmx.net/tokyocabinet/index.html 2>/dev/null | \ |
pascal@24535 | 21 sed '/Latest Source/!d;s|.*tokyocabinet-||;s|.tar.*||;q' |
pascal@24535 | 22 } |
pascal@24535 | 23 |
pascal@13591 | 24 # Rules to configure and make the package. |
pascal@13591 | 25 compile_rules() |
pascal@13591 | 26 { |
Hans-G?nter@22040 | 27 ./configure \ |
Hans-G?nter@22040 | 28 --prefix=/usr \ |
Hans-G?nter@22040 | 29 --enable-off64 \ |
pascal@18188 | 30 $CONFIGURE_ARGS && |
pascal@13591 | 31 make && |
pascal@13591 | 32 make DESTDIR=$DESTDIR install |
pascal@13591 | 33 } |
pascal@13591 | 34 |
pascal@13591 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13591 | 36 genpkg_rules() |
pascal@13591 | 37 { |
pascal@13591 | 38 mkdir -p $fs/usr/lib |
Hans-G?nter@22040 | 39 |
Hans-G?nter@22040 | 40 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22040 | 41 cp -a $install/usr/libexec $fs/usr |
Hans-G?nter@22040 | 42 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@13591 | 43 } |