wok annotate lessfs/receipt @ rev 25663
Update some perl* web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 23 15:13:32 2024 +0000 (10 months ago) |
parents | 69e1e705f038 |
children |
rev | line source |
---|---|
pascal@13591 | 1 # SliTaz package receipt. |
pascal@13591 | 2 |
pascal@13591 | 3 PACKAGE="lessfs" |
pascal@18187 | 4 VERSION="1.7.0" |
pascal@13591 | 5 CATEGORY="system-tools" |
pascal@13591 | 6 SHORT_DESC="A high performance inline data deduplicating filesystem." |
pascal@13591 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
pascal@25510 | 9 WEB_SITE="https://sourceforge.net/projects/lessfs/" |
pascal@13591 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13591 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@13591 | 12 TAGS="filesystem" |
pascal@18190 | 13 CONFIG_FILES="/etc/lessfs.cfg" |
pascal@13591 | 14 |
pascal@24766 | 15 DEPENDS="fuse2 db mhash tokyocabinet" |
pascal@24766 | 16 BUILD_DEPENDS="fuse2-dev db-dev mhash-dev tokyocabinet-dev pkg-config" |
pascal@13591 | 17 |
pascal@24411 | 18 # What is the latest version available today? |
pascal@24411 | 19 current_version() |
pascal@24411 | 20 { |
pascal@24411 | 21 wget -O - https://sourceforge.net/projects/lessfs/files/lessfs/ 2>/dev/null | \ |
pascal@25606 | 22 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24411 | 23 sed '/scope="row/!d;s|.*/lessfs-||;s|.tar.*||;q' |
pascal@24411 | 24 } |
pascal@24411 | 25 |
pascal@13591 | 26 # Rules to configure and make the package. |
pascal@13591 | 27 compile_rules() |
pascal@13591 | 28 { |
pascal@20212 | 29 sed -i 's|uname -m|echo i486|' Makefile* |
pascal@18951 | 30 export LDFLAGS="$LDFLAGS -lpthread" |
pascal@13591 | 31 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@13591 | 32 --mandir=/usr/share/man \ |
pascal@13591 | 33 --with-berkeleydb \ |
pascal@13591 | 34 $CONFIGURE_ARGS && |
pascal@13591 | 35 make && |
pascal@13591 | 36 make DESTDIR=$DESTDIR install |
pascal@13591 | 37 } |
pascal@13591 | 38 |
pascal@13591 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13591 | 40 genpkg_rules() |
pascal@13591 | 41 { |
pascal@18190 | 42 mkdir -p $fs/etc |
pascal@18190 | 43 cp -a $src/etc/lessfs.cfg-bdb $fs/etc/lessfs.cfg |
pascal@13592 | 44 cp -a $install/usr/*bin $fs |
pascal@13591 | 45 } |