wok view lessfs/receipt @ rev 24538

updated fbcat (0.5.1 -> 0.5.2)
author Hans-G?nter Theisgen
date Wed Feb 23 15:14:49 2022 +0100 (2022-02-23)
parents aaa3fcf79cf3
children 72f2704d3ae0
line source
1 # SliTaz package receipt.
3 PACKAGE="lessfs"
4 VERSION="1.7.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="A high performance inline data deduplicating filesystem."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://sourceforge.net/projects/lessfs/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="filesystem"
13 CONFIG_FILES="/etc/lessfs.cfg"
15 DEPENDS="fuse db mhash tokyocabinet"
16 BUILD_DEPENDS="fuse-dev db-dev mhash-dev tokyocabinet-dev pkg-config"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://sourceforge.net/projects/lessfs/files/lessfs/ 2>/dev/null | \
22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
23 sed '/scope="row/!d;s|.*/lessfs-||;s|.tar.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 sed -i 's|uname -m|echo i486|' Makefile*
30 export LDFLAGS="$LDFLAGS -lpthread"
31 ./configure --prefix=/usr --infodir=/usr/share/info \
32 --mandir=/usr/share/man \
33 --with-berkeleydb \
34 $CONFIGURE_ARGS &&
35 make &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/etc
43 cp -a $src/etc/lessfs.cfg-bdb $fs/etc/lessfs.cfg
44 cp -a $install/usr/*bin $fs
45 }