wok view btrfs-progs/receipt @ rev 20235

busybox: add arch (uname -m alias)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 05 15:52:59 2018 +0100 (2018-03-05)
parents 401224c936cc
children 35739426d4fb
line source
1 # SliTaz package receipt.
3 PACKAGE="btrfs-progs"
4 VERSION="4.15"
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.gz"
10 WEB_SITE="http://btrfs.wiki.kernel.org/"
11 WGET_URL="https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git/snapshot/$TARBALL"
12 TAGS="filesystem fault-tolerance"
13 PROVIDE="btrfs-tools"
15 DEPENDS="util-linux-uuid zlib acl util-linux-blkid lzo btrfs-mkfs zstd"
16 BUILD_DEPENDS="util-linux-uuid-dev e2fsprogs e2fsprogs-dev zlib-dev acl-dev \
17 git util-linux-blkid-dev lzo-dev autoconf automake zstd-dev"
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 }