wok annotate fsarchiver/receipt @ rev 19774

some *-dev depend on pkg-config
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 21 15:50:51 2017 +0100 (2017-02-21)
parents 2662eed28d15
children c2bd5d258aac
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"
pascal@15000 7 LICENSE="GPL2"
jozee@4951 8 SHORT_DESC="A safe and flexible file-system backup and deployment tool"
slaxemulator@10328 9 WEB_SITE="http://www.fsarchiver.org/"
slaxemulator@10328 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@10328 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
slaxemulator@10328 12 TAGS="compression filesystem archive backup"
slaxemulator@10328 13
pankso@12481 14 DEPENDS="bzip2 e2fsprogs lzo xz libgcrypt liblzma util-linux-blkid \
pascal@5001 15 libcomerr3 zlib"
slaxemulator@10328 16 BUILD_DEPENDS="bzip2-dev e2fsprogs-dev libgcrypt-dev lzo-dev liblzma-dev \
pascal@12634 17 util-linux-blkid-dev attr-dev util-linux-uuid-dev zlib-dev pkg-config"
jozee@4951 18
jozee@4951 19 # Rules to configure and make the package.
jozee@4951 20 compile_rules() {
slaxemulator@7727 21 cd $src
slaxemulator@10328 22 ./configure --prefix=/usr $CONFIGURE_ARGS &&
slaxemulator@7727 23 make &&
slaxemulator@10328 24 make DESTDIR="$DESTDIR" install
jozee@4951 25 }
jozee@4951 26
jozee@4951 27 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@4951 28 genpkg_rules()
jozee@4951 29 {
jozee@4951 30 mkdir -p $fs/usr
pascal@15000 31 cp -a $install/usr/sbin $fs/usr
jozee@4951 32
jozee@4951 33 }