wok view lessfs/receipt @ rev 25687

updated sc-im (0.8.2 -> 0.8.3)
author Hans-G?nter Theisgen
date Thu Apr 11 14:51:51 2024 +0100 (7 months ago)
parents 69e1e705f038
children
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="fuse2 db mhash tokyocabinet"
16 BUILD_DEPENDS="fuse2-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|.*a href="|"https://sourceforge.net|;s| .*||;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 }