wok-stable view fsarchiver/receipt @ rev 10728

Fixed all sourced slitaz-dev-tools receipts. The way cook works is it keeps the .hg folder when downloading mecurial sources. By downloading the $VERSION.tar.bz2 and renaming it $SOURCE-$VERSION.tar.bz2 we don't keep the .hg folder in source tarball. Repos will be backup on source dvd anyway so this does save a little bit of space.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 28 21:18:14 2011 +0000 (2011-05-28)
parents 0564f6a28d04
children
line source
1 # SliTaz package receipt.
3 PACKAGE="fsarchiver"
4 VERSION="0.6.12"
5 CATEGORY="utilities"
6 MAINTAINER="jozee@slitaz.org"
7 SHORT_DESC="A safe and flexible file-system backup and deployment tool"
8 WEB_SITE="http://www.fsarchiver.org/"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 TAGS="compression filesystem archive backup"
13 DEPENDS="bzip2 e2fsprogs lzo xz libgcrypt liblzma util-linux-ng-blkid \
14 libcomerr3 zlib"
15 BUILD_DEPENDS="bzip2-dev e2fsprogs-dev libgcrypt-dev lzo-dev liblzma-dev \
16 util-linux-ng-blkid-dev attr-dev util-linux-ng-uuid-dev zlib-dev pkg-config"
18 # Rules to configure and make the package.
19 compile_rules() {
20 cd $src
21 ./configure --prefix=/usr $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR="$DESTDIR" install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr/sbin $fs/usr
32 }