wok-6.x annotate btrfs-progs/receipt @ rev 13489
up gawk (4.0.1)
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Thu Oct 11 23:37:18 2012 +0000 (2012-10-11) |
parents | 73641efed1cc |
children | 09fb684d4984 |
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" |
pankso@12483 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@12483 | 9 WEB_SITE="http://btrfs.wiki.kernel.org/" |
pankso@12483 | 10 WGET_URL="git|git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git" |
pankso@12483 | 11 TAGS="filesystem fault-tolerance" |
pankso@12483 | 12 |
pankso@12481 | 13 DEPENDS="util-linux-uuid zlib acl" |
pankso@12483 | 14 BUILD_DEPENDS="e2fsprogs-dev zlib-dev acl-dev git" |
pascal@3002 | 15 |
pascal@3002 | 16 # Rules to configure and make the package. |
pascal@3002 | 17 compile_rules() |
pascal@3002 | 18 { |
pascal@3002 | 19 cd $src |
pankso@12483 | 20 #patch -Np1 -i $stuff/btrfs-progs-build-fixes.patch |
slaxemulator@8810 | 21 make all && |
pankso@12483 | 22 make DESTDIR=$DESTDIR prefix=/usr install |
pascal@3002 | 23 } |
pascal@3002 | 24 |
pascal@3002 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3002 | 26 genpkg_rules() |
pascal@3002 | 27 { |
pascal@3002 | 28 mkdir -p $fs/usr |
pankso@12483 | 29 cp -a $install/usr/bin $fs/usr |
pankso@12483 | 30 # Split mkfs --> btrfs-mkfs |
pankso@12483 | 31 rm $fs/usr/bin/mkfs.btrfs |
pascal@3002 | 32 } |
pascal@3002 | 33 |