wok view lessfs/receipt @ rev 19979

Add seamonkey-official
author Richard Dunbar <mojo@slitaz.org>
date Tue Jun 13 14:11:14 2017 -0400 (2017-06-13)
parents 7d335fa9b5f7
children 3705d68ed8f3
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 }