wok-next view lessfs/receipt @ rev 20881
accessx: fix build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jul 10 11:20:55 2018 +0300 (2018-07-10) |
parents | d43bf7aae921 |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
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="http://www.lessfs.com/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="fuse2-dev db-dev mhash-dev tokyocabinet-dev"
16 compile_rules() {
17 export LDFLAGS="$LDFLAGS -lpthread"
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 --with-berkeleydb \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install || return 1
28 install -Dm644 $src/etc/lessfs.cfg-bdb $install/etc/lessfs.cfg
29 }
31 genpkg_rules() {
32 copy @std
33 DEPENDS="fuse2 db mhash tokyocabinet"
34 CONFIG_FILES="/etc/lessfs.cfg"
35 TAGS="filesystem"
36 }