wok-current view tokyocabinet/receipt @ rev 25624
Patch gst-ffmpeg to work with new gcc
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon Sep 04 19:03:50 2023 +0000 (11 months ago) |
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 }