wok-6.x annotate btrfs-progs/receipt @ rev 14507

Add get-src2pkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 14 07:26:31 2013 +0200 (2013-05-14)
parents 187ff4f392d8
children 7896f0694ef6
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
pascal@13508 30 cp -a $stuff/btrfs-snapshot $fs/usr/bin
pankso@12483 31 # Split mkfs --> btrfs-mkfs
pankso@12483 32 rm $fs/usr/bin/mkfs.btrfs
pascal@3002 33 }
pascal@3002 34