wok view btrfs-progs/receipt @ rev 14444
Add coccinella
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 26 16:54:00 2013 +0200 (2013-04-26) |
parents | 187ff4f392d8 |
children | 7896f0694ef6 |
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://btrfs.wiki.kernel.org/"
10 WGET_URL="git|git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git"
11 TAGS="filesystem fault-tolerance"
13 DEPENDS="util-linux-uuid zlib acl"
14 BUILD_DEPENDS="e2fsprogs-dev zlib-dev acl-dev git"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 #patch -Np1 -i $stuff/btrfs-progs-build-fixes.patch
21 make all &&
22 make DESTDIR=$DESTDIR prefix=/usr install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/bin $fs/usr
30 cp -a $stuff/btrfs-snapshot $fs/usr/bin
31 # Split mkfs --> btrfs-mkfs
32 rm $fs/usr/bin/mkfs.btrfs
33 }