wok-next view lessfs/receipt @ rev 19412
Update SliTaz projects
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Sep 24 14:36:15 2016 +0300 (2016-09-24) |
parents | 7d335fa9b5f7 |
children | d43bf7aae921 |
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="http://www.lessfs.com/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="filesystem"
13 CONFIG_FILES="/etc/lessfs.cfg"
15 DEPENDS="fuse db mhash tokyocabinet"
16 BUILD_DEPENDS="fuse-dev db-dev mhash-dev tokyocabinet-dev pkg-config"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 export LDFLAGS="$LDFLAGS -lpthread"
22 ./configure --prefix=/usr --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 --with-berkeleydb \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/etc
34 cp -a $src/etc/lessfs.cfg-bdb $fs/etc/lessfs.cfg
35 cp -a $install/usr/*bin $fs
36 }