wok-next annotate lessfs/receipt @ rev 20611

Add rpcsvc-proto
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Apr 19 21:54:31 2018 +0300 (2018-04-19)
parents d43bf7aae921
children d5aab818505e
rev   line source
al@20527 1 # SliTaz package receipt v2.
pascal@13591 2
pascal@13591 3 PACKAGE="lessfs"
pascal@18187 4 VERSION="1.7.0"
pascal@13591 5 CATEGORY="system-tools"
al@20527 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/"
al@20527 10
pascal@13591 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@13591 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@13591 13
al@20527 14 BUILD_DEPENDS="fuse2-dev db-dev mhash-dev tokyocabinet-dev"
pascal@13591 15
al@20527 16 compile_rules() {
pascal@18951 17 export LDFLAGS="$LDFLAGS -lpthread"
al@20527 18
al@20527 19 ./configure \
al@20527 20 --prefix=/usr \
al@20527 21 --infodir=/usr/share/info \
pascal@13591 22 --mandir=/usr/share/man \
pascal@13591 23 --with-berkeleydb \
pascal@13591 24 $CONFIGURE_ARGS &&
pascal@13591 25 make &&
al@20527 26 make DESTDIR=$DESTDIR install || return 1
al@20527 27
al@20527 28 install -Dm644 $src/etc/lessfs.cfg-bdb $install/etc/lessfs.cfg
pascal@13591 29 }
pascal@13591 30
al@20527 31 genpkg_rules() {
al@20527 32 copy @std
al@20527 33 DEPENDS="fuse2 db mhash tokyocabinet"
al@20527 34 CONFIG_FILES="/etc/lessfs.cfg"
al@20527 35 TAGS="filesystem"
pascal@13591 36 }