wok rev 12483

Up: btrfs and split mkfs.btrfs
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 23 18:12:10 2012 +0200 (2012-04-23)
parents c59abd89a5fa
children 127a849d861d
files btrfs-mkfs/receipt btrfs-progs/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/btrfs-mkfs/receipt	Mon Apr 23 18:12:10 2012 +0200
     1.3 @@ -0,0 +1,17 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="btrfs-mkfs"
     1.7 +VERSION="20120423"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Btrfs Filesystem creation tool."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +WEB_SITE="http://btrfs.wiki.kernel.org/"
    1.12 +WANTED="btrfs-progs"
    1.13 +
    1.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.15 +genpkg_rules()
    1.16 +{
    1.17 +	mkdir -p $fs/usr/bin
    1.18 +	cp -a $install/usr/bin/mkfs.btrfs $fs/usr/bin
    1.19 +}
    1.20 +
     2.1 --- a/btrfs-progs/receipt	Mon Apr 23 17:25:52 2012 +0200
     2.2 +++ b/btrfs-progs/receipt	Mon Apr 23 18:12:10 2012 +0200
     2.3 @@ -1,30 +1,33 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="btrfs-progs"
     2.7 -VERSION="0.19"
     2.8 +VERSION="20120423"
     2.9  CATEGORY="system-tools"
    2.10  SHORT_DESC="Btrfs Filesystem user space tools."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
    2.12 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.13 -WEB_SITE="http://btrfs.wiki.kernel.org/index.php/Main_Page"
    2.14 -WGET_URL="http://www.kernel.org/pub/linux/kernel/people/mason/btrfs/$TARBALL"
    2.15 -BUILD_DEPENDS="e2fsprogs-dev"
    2.16 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.17 +WEB_SITE="http://btrfs.wiki.kernel.org/"
    2.18 +WGET_URL="git|git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git"
    2.19 +TAGS="filesystem fault-tolerance"
    2.20 +
    2.21  DEPENDS="util-linux-uuid zlib acl"
    2.22 -TAGS="filesystem fault-tolerance"
    2.23 +BUILD_DEPENDS="e2fsprogs-dev zlib-dev acl-dev git"
    2.24  
    2.25  # Rules to configure and make the package.
    2.26  compile_rules()
    2.27  {
    2.28  	cd $src
    2.29 -	patch -Np1 -i $stuff/btrfs-progs-build-fixes.patch
    2.30 +	#patch -Np1 -i $stuff/btrfs-progs-build-fixes.patch
    2.31  	make all &&
    2.32 -	make DESTDIR=$PWD/_pkg prefix=/usr install
    2.33 +	make DESTDIR=$DESTDIR prefix=/usr install
    2.34  }
    2.35  
    2.36  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.37  genpkg_rules()
    2.38  {
    2.39  	mkdir -p $fs/usr
    2.40 -	cp -a $_pkg/usr/bin $fs/usr
    2.41 +	cp -a $install/usr/bin $fs/usr
    2.42 +	# Split mkfs --> btrfs-mkfs
    2.43 +	rm $fs/usr/bin/mkfs.btrfs
    2.44  }
    2.45