wok-next annotate lessfs/receipt @ rev 19549

Up cacerts (20161124), perl no more need in post_install
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 09 03:40:48 2016 +0200 (2016-12-09)
parents 7d335fa9b5f7
children d43bf7aae921
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@13591 9 WEB_SITE="http://www.lessfs.com/"
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@13591 15 DEPENDS="fuse db mhash tokyocabinet"
pascal@13591 16 BUILD_DEPENDS="fuse-dev db-dev mhash-dev tokyocabinet-dev pkg-config"
pascal@13591 17
pascal@13591 18 # Rules to configure and make the package.
pascal@13591 19 compile_rules()
pascal@13591 20 {
pascal@18951 21 export LDFLAGS="$LDFLAGS -lpthread"
pascal@13591 22 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@13591 23 --mandir=/usr/share/man \
pascal@13591 24 --with-berkeleydb \
pascal@13591 25 $CONFIGURE_ARGS &&
pascal@13591 26 make &&
pascal@13591 27 make DESTDIR=$DESTDIR install
pascal@13591 28 }
pascal@13591 29
pascal@13591 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13591 31 genpkg_rules()
pascal@13591 32 {
pascal@18190 33 mkdir -p $fs/etc
pascal@18190 34 cp -a $src/etc/lessfs.cfg-bdb $fs/etc/lessfs.cfg
pascal@13592 35 cp -a $install/usr/*bin $fs
pascal@13591 36 }