wok-6.x annotate btrfs-progs/receipt @ rev 10730
slitaz-mercurial-style: fix TARBALL
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 29 04:12:19 2011 +0200 (2011-05-29) |
parents | ce496ecccf24 |
children | 73641efed1cc |
rev | line source |
---|---|
pascal@3002 | 1 # SliTaz package receipt. |
pascal@3002 | 2 |
pascal@3002 | 3 PACKAGE="btrfs-progs" |
slaxemulator@5395 | 4 VERSION="0.19" |
pascal@3002 | 5 CATEGORY="system-tools" |
jozee@3568 | 6 SHORT_DESC="Btrfs Filesystem user space tools." |
pascal@3002 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@3002 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@3002 | 9 WEB_SITE="http://btrfs.wiki.kernel.org/index.php/Main_Page" |
pascal@3002 | 10 WGET_URL="http://www.kernel.org/pub/linux/kernel/people/mason/btrfs/$TARBALL" |
pascal@3002 | 11 BUILD_DEPENDS="e2fsprogs-dev" |
gokhlayeh@8807 | 12 DEPENDS="util-linux-ng-uuid zlib acl" |
jozee@3568 | 13 TAGS="filesystem fault-tolerance" |
pascal@3002 | 14 |
pascal@3002 | 15 # Rules to configure and make the package. |
pascal@3002 | 16 compile_rules() |
pascal@3002 | 17 { |
pascal@3002 | 18 cd $src |
slaxemulator@8810 | 19 patch -Np1 -i $stuff/btrfs-progs-build-fixes.patch |
slaxemulator@8810 | 20 make all && |
pascal@3002 | 21 make DESTDIR=$PWD/_pkg prefix=/usr install |
pascal@3002 | 22 } |
pascal@3002 | 23 |
pascal@3002 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3002 | 25 genpkg_rules() |
pascal@3002 | 26 { |
pascal@3002 | 27 mkdir -p $fs/usr |
pascal@3002 | 28 cp -a $_pkg/usr/bin $fs/usr |
pascal@3002 | 29 } |
pascal@3002 | 30 |