wok view btrfs-progs/receipt @ rev 18730

Quote root dir in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 20 15:13:45 2015 +0100 (2015-12-20)
parents 1ce997e1925a
children 401224c936cc
line source
1 # SliTaz package receipt.
3 PACKAGE="btrfs-progs"
4 VERSION="4.1.2"
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"
13 PROVIDE="btrfs-tools"
15 DEPENDS="util-linux-uuid zlib acl util-linux-blkid lzo btrfs-mkfs"
16 BUILD_DEPENDS="util-linux-uuid-dev e2fsprogs e2fsprogs-dev zlib-dev acl-dev \
17 git util-linux-blkid-dev lzo-dev autoconf automake"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./autogen.sh
23 ./configure --prefix=/usr \
24 --sysconfdir=/etc \
25 --disable-documentation \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR prefix=/usr -j 1 install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/usr/bin $fs/usr
36 # Split mkfs --> btrfs-mkfs
37 rm $fs/usr/bin/mkfs.btrfs
38 }