wok view btrfs-progs/receipt @ rev 15002
Add some GPL2 licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 10 21:12:16 2013 +0000 (2013-08-10) |
parents | 09fb684d4984 |
children | 0564ee123d66 |
line source
1 # SliTaz package receipt.
3 PACKAGE="btrfs-progs"
4 VERSION="20120423"
5 CATEGORY="system-tools"
6 SHORT_DESC="Btrfs Filesystem user space tools."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://btrfs.wiki.kernel.org/"
11 WGET_URL="git|git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git"
12 TAGS="filesystem fault-tolerance"
14 DEPENDS="util-linux-uuid zlib acl"
15 BUILD_DEPENDS="e2fsprogs-dev zlib-dev acl-dev git"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 #patch -Np1 -i $stuff/btrfs-progs-build-fixes.patch
22 make all &&
23 make DESTDIR=$DESTDIR prefix=/usr install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/bin $fs/usr
31 cp -a $stuff/btrfs-snapshot $fs/usr/bin
32 # Split mkfs --> btrfs-mkfs
33 rm $fs/usr/bin/mkfs.btrfs
34 }