wok-next annotate btrfs-progs/receipt @ rev 18388
btrfs-progs: race condition
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 18 13:29:50 2015 +0200 (2015-09-18) |
parents | daad21b281dd |
children | fd43b38b883b |
rev | line source |
---|---|
pascal@3002 | 1 # SliTaz package receipt. |
pascal@3002 | 2 |
pascal@3002 | 3 PACKAGE="btrfs-progs" |
pascal@18215 | 4 VERSION="4.1.2" |
pascal@3002 | 5 CATEGORY="system-tools" |
jozee@3568 | 6 SHORT_DESC="Btrfs Filesystem user space tools." |
pascal@3002 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
pankso@12483 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@12483 | 10 WEB_SITE="http://btrfs.wiki.kernel.org/" |
pankso@12483 | 11 WGET_URL="git|git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git" |
pankso@12483 | 12 TAGS="filesystem fault-tolerance" |
pascal@18320 | 13 PROVIDE="btrfs-tools" |
pankso@12483 | 14 |
pascal@15829 | 15 DEPENDS="util-linux-uuid zlib acl util-linux-blkid lzo" |
pascal@15829 | 16 BUILD_DEPENDS="util-linux-uuid-dev e2fsprogs e2fsprogs-dev zlib-dev acl-dev \ |
pascal@18215 | 17 git util-linux-blkid-dev lzo-dev autoconf automake" |
pascal@3002 | 18 |
pascal@3002 | 19 # Rules to configure and make the package. |
pascal@3002 | 20 compile_rules() |
pascal@3002 | 21 { |
pascal@18215 | 22 ./autogen.sh |
pascal@18215 | 23 ./configure --prefix=/usr \ |
pascal@18215 | 24 --sysconfdir=/etc \ |
pascal@18215 | 25 --disable-documentation \ |
pascal@18215 | 26 $CONFIGURE_ARGS && |
pascal@18215 | 27 make && |
pascal@18388 | 28 make DESTDIR=$DESTDIR prefix=/usr -j 1 install |
pascal@3002 | 29 } |
pascal@3002 | 30 |
pascal@3002 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3002 | 32 genpkg_rules() |
pascal@3002 | 33 { |
pascal@3002 | 34 mkdir -p $fs/usr |
pankso@12483 | 35 cp -a $install/usr/bin $fs/usr |
pankso@12483 | 36 # Split mkfs --> btrfs-mkfs |
pankso@12483 | 37 rm $fs/usr/bin/mkfs.btrfs |
pascal@3002 | 38 } |