wok view tokyocabinet/receipt @ rev 24781

Up ntk (1.3.1001)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 20 10:32:22 2022 +0000 (2022-03-20)
parents 7c0170dd3ecc
children
line source
1 # SliTaz package receipt.
3 PACKAGE="tokyocabinet"
4 VERSION="1.4.48"
5 CATEGORY="development"
6 SHORT_DESC="High performance database library, successor of QDBM."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://www.dbmx.net/tokyocabinet/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}$TARBALL"
14 DEPENDS="bzlib zlib"
15 BUILD_DEPENDS="bzip2-dev zlib-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://dbmx.net/tokyocabinet/index.html 2>/dev/null | \
21 sed '/Latest Source/!d;s|.*tokyocabinet-||;s|.tar.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --enable-off64 \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/libexec $fs/usr
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 }