wok-4.x annotate fsarchiver/receipt @ rev 11965
tazwok compat: add wget as libt4k_common bdep (https $WGET_URL)
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Fri Mar 02 15:32:28 2012 +0100 (2012-03-02) |
parents | 0564f6a28d04 |
children |
rev | line source |
---|---|
jozee@4951 | 1 # SliTaz package receipt. |
jozee@4951 | 2 |
jozee@4951 | 3 PACKAGE="fsarchiver" |
slaxemulator@7838 | 4 VERSION="0.6.12" |
jozee@4951 | 5 CATEGORY="utilities" |
jozee@4952 | 6 MAINTAINER="jozee@slitaz.org" |
jozee@4951 | 7 SHORT_DESC="A safe and flexible file-system backup and deployment tool" |
slaxemulator@10328 | 8 WEB_SITE="http://www.fsarchiver.org/" |
slaxemulator@10328 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@10328 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
slaxemulator@10328 | 11 TAGS="compression filesystem archive backup" |
slaxemulator@10328 | 12 |
pascal@5001 | 13 DEPENDS="bzip2 e2fsprogs lzo xz libgcrypt liblzma util-linux-ng-blkid \ |
pascal@5001 | 14 libcomerr3 zlib" |
slaxemulator@10328 | 15 BUILD_DEPENDS="bzip2-dev e2fsprogs-dev libgcrypt-dev lzo-dev liblzma-dev \ |
slaxemulator@10328 | 16 util-linux-ng-blkid-dev attr-dev util-linux-ng-uuid-dev zlib-dev pkg-config" |
jozee@4951 | 17 |
jozee@4951 | 18 # Rules to configure and make the package. |
jozee@4951 | 19 compile_rules() { |
slaxemulator@7727 | 20 cd $src |
slaxemulator@10328 | 21 ./configure --prefix=/usr $CONFIGURE_ARGS && |
slaxemulator@7727 | 22 make && |
slaxemulator@10328 | 23 make DESTDIR="$DESTDIR" install |
jozee@4951 | 24 } |
jozee@4951 | 25 |
jozee@4951 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@4951 | 27 genpkg_rules() |
jozee@4951 | 28 { |
jozee@4951 | 29 mkdir -p $fs/usr |
jozee@4951 | 30 cp -a $_pkg/usr/sbin $fs/usr |
jozee@4951 | 31 |
jozee@4951 | 32 } |