wok-6.x annotate lessfs/receipt @ rev 23952
created recipe for mrxvt-unicode
author | Hans-G?nter Theisgen |
---|---|
date | Tue Sep 22 15:33:55 2020 +0100 (2020-09-22) |
parents | 3705d68ed8f3 |
children | 65d7d867e0c1 |
rev | line source |
---|---|
pascal@13591 | 1 # SliTaz package receipt. |
pascal@13591 | 2 |
pascal@13591 | 3 PACKAGE="lessfs" |
pascal@18187 | 4 VERSION="1.7.0" |
pascal@13591 | 5 CATEGORY="system-tools" |
pascal@13591 | 6 SHORT_DESC="A high performance inline data deduplicating filesystem." |
pascal@13591 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
pascal@21489 | 9 WEB_SITE="https://sourceforge.net/projects/lessfs/" |
pascal@13591 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13591 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@13591 | 12 TAGS="filesystem" |
pascal@18190 | 13 CONFIG_FILES="/etc/lessfs.cfg" |
pascal@13591 | 14 |
pascal@13591 | 15 DEPENDS="fuse db mhash tokyocabinet" |
pascal@13591 | 16 BUILD_DEPENDS="fuse-dev db-dev mhash-dev tokyocabinet-dev pkg-config" |
pascal@13591 | 17 |
pascal@13591 | 18 # Rules to configure and make the package. |
pascal@13591 | 19 compile_rules() |
pascal@13591 | 20 { |
pascal@20212 | 21 sed -i 's|uname -m|echo i486|' Makefile* |
pascal@18951 | 22 export LDFLAGS="$LDFLAGS -lpthread" |
pascal@13591 | 23 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@13591 | 24 --mandir=/usr/share/man \ |
pascal@13591 | 25 --with-berkeleydb \ |
pascal@13591 | 26 $CONFIGURE_ARGS && |
pascal@13591 | 27 make && |
pascal@13591 | 28 make DESTDIR=$DESTDIR install |
pascal@13591 | 29 } |
pascal@13591 | 30 |
pascal@13591 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13591 | 32 genpkg_rules() |
pascal@13591 | 33 { |
pascal@18190 | 34 mkdir -p $fs/etc |
pascal@18190 | 35 cp -a $src/etc/lessfs.cfg-bdb $fs/etc/lessfs.cfg |
pascal@13592 | 36 cp -a $install/usr/*bin $fs |
pascal@13591 | 37 } |