wok annotate btrfs-progs/receipt @ rev 15366
perl: add threads support (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 04 09:55:59 2013 +0000 (2013-10-04) |
parents | 09fb684d4984 |
children | 0564ee123d66 |
rev | line source |
---|---|
pascal@3002 | 1 # SliTaz package receipt. |
pascal@3002 | 2 |
pascal@3002 | 3 PACKAGE="btrfs-progs" |
pankso@12483 | 4 VERSION="20120423" |
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@15002 | 8 LICENSE="GPL2" |
pankso@12483 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@12483 | 10 WEB_SITE="http://btrfs.wiki.kernel.org/" |
pankso@12483 | 11 WGET_URL="git|git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git" |
pankso@12483 | 12 TAGS="filesystem fault-tolerance" |
pankso@12483 | 13 |
pankso@12481 | 14 DEPENDS="util-linux-uuid zlib acl" |
pankso@12483 | 15 BUILD_DEPENDS="e2fsprogs-dev zlib-dev acl-dev git" |
pascal@3002 | 16 |
pascal@3002 | 17 # Rules to configure and make the package. |
pascal@3002 | 18 compile_rules() |
pascal@3002 | 19 { |
pascal@3002 | 20 cd $src |
pankso@12483 | 21 #patch -Np1 -i $stuff/btrfs-progs-build-fixes.patch |
slaxemulator@8810 | 22 make all && |
pankso@12483 | 23 make DESTDIR=$DESTDIR prefix=/usr install |
pascal@3002 | 24 } |
pascal@3002 | 25 |
pascal@3002 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3002 | 27 genpkg_rules() |
pascal@3002 | 28 { |
pascal@3002 | 29 mkdir -p $fs/usr |
pankso@12483 | 30 cp -a $install/usr/bin $fs/usr |
pascal@13508 | 31 cp -a $stuff/btrfs-snapshot $fs/usr/bin |
pankso@12483 | 32 # Split mkfs --> btrfs-mkfs |
pankso@12483 | 33 rm $fs/usr/bin/mkfs.btrfs |
pascal@3002 | 34 } |
pascal@3002 | 35 |