wok-6.x view btrfs-progs/receipt @ rev 24920
updated mp (5.2.10 -> 5.58)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 10 07:48:27 2022 +0100 (2022-04-10) |
parents | a3b6dd3aac6f |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="btrfs-progs"
4 VERSION="5.7"
5 CATEGORY="system-tools"
6 TAGS="filesystem fault-tolerance"
7 SHORT_DESC="Btrfs Filesystem user space tools."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://btrfs.wiki.kernel.org/index.php/Main_Page"
12 TARBALL="$PACKAGE-v$VERSION.tar.xz"
13 WGET_URL="https://www.kernel.org/pub/linux/kernel/people/kdave/$PACKAGE/$TARBALL"
15 PROVIDE="btrfs-tools"
16 DEPENDS="acl btrfs-mkfs lzo util-linux-blkid util-linux-uuid zlib zstd"
17 BUILD_DEPENDS="acl-dev autoconf automake e2fsprogs e2fsprogs-dev
18 lzo-dev py3k-dev util-linux-blkid-dev util-linux-uuid-dev
19 zlib-dev zstd-dev"
21 current_version()
22 {
23 wget -O - https://github.com/kdave/btrfs-progs/tags 2>/dev/null | \
24 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./autogen.sh &&
31 ./configure \
32 --prefix=/usr \
33 --sysconfdir=/etc \
34 --disable-documentation \
35 $CONFIGURE_ARGS &&
36 make &&
37 make DESTDIR=$DESTDIR prefix=/usr -j 1 install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr $install/usr/share/man
45 cp -a $install/usr/bin $fs/usr
46 cp -a $src/Documentation/*.? $install/usr/share/man
48 # Split mkfs --> btrfs-mkfs
49 rm $fs/usr/bin/mkfs.btrfs
50 }