wok view lessfs/receipt @ rev 21519

mosh: update patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 03 16:47:04 2019 +0200 (2019-05-03)
parents 3705d68ed8f3
children 65d7d867e0c1
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="https://sourceforge.net/projects/lessfs/"
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 sed -i 's|uname -m|echo i486|' Makefile*
22 export LDFLAGS="$LDFLAGS -lpthread"
23 ./configure --prefix=/usr --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 --with-berkeleydb \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/etc
35 cp -a $src/etc/lessfs.cfg-bdb $fs/etc/lessfs.cfg
36 cp -a $install/usr/*bin $fs
37 }