wok annotate btrfs-progs/receipt @ rev 24101

lrzip: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 16 16:33:44 2021 +0000 (2021-09-16)
parents b185abe5285c
children ac8ca9758df1
rev   line source
pascal@3002 1 # SliTaz package receipt.
pascal@3002 2
pascal@3002 3 PACKAGE="btrfs-progs"
pascal@23907 4 VERSION="5.7"
pascal@3002 5 CATEGORY="system-tools"
Hans-G?nter@22564 6 TAGS="filesystem fault-tolerance"
jozee@3568 7 SHORT_DESC="Btrfs Filesystem user space tools."
pascal@3002 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15002 9 LICENSE="GPL2"
Hans-G?nter@22564 10 WEB_SITE="https://btrfs.wiki.kernel.org/index.php/Main_Page"
Hans-G?nter@22564 11
Hans-G?nter@22565 12 TARBALL="$PACKAGE-v$VERSION.tar.xz"
Hans-G?nter@22564 13 WGET_URL="https://www.kernel.org/pub/linux/kernel/people/kdave/$PACKAGE/$TARBALL"
Hans-G?nter@22564 14
pascal@18320 15 PROVIDE="btrfs-tools"
Hans-G?nter@22564 16 DEPENDS="acl btrfs-mkfs lzo util-linux-blkid util-linux-uuid zlib zstd"
Hans-G?nter@22564 17 BUILD_DEPENDS="acl-dev autoconf automake e2fsprogs e2fsprogs-dev
Hans-G?nter@22564 18 lzo-dev py3k-dev util-linux-blkid-dev util-linux-uuid-dev
Hans-G?nter@22564 19 zlib-dev zstd-dev"
pascal@3002 20
pascal@24093 21 current_version()
pascal@24093 22 {
pascal@24093 23 wget -O - https://github.com/kdave/btrfs-progs/releases 2>/dev/null | \
pascal@24093 24 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24093 25 }
pascal@24093 26
pascal@3002 27 # Rules to configure and make the package.
pascal@3002 28 compile_rules()
pascal@3002 29 {
Hans-G?nter@22564 30 ./autogen.sh &&
Hans-G?nter@22564 31 ./configure \
Hans-G?nter@22564 32 --prefix=/usr \
Hans-G?nter@22564 33 --sysconfdir=/etc \
Hans-G?nter@22564 34 --disable-documentation \
pascal@18215 35 $CONFIGURE_ARGS &&
pascal@18215 36 make &&
pascal@18388 37 make DESTDIR=$DESTDIR prefix=/usr -j 1 install
pascal@3002 38 }
pascal@3002 39
pascal@3002 40 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@3002 41 genpkg_rules()
pascal@3002 42 {
pascal@23907 43 mkdir -p $fs/usr $install/usr/share/man
Hans-G?nter@22564 44
pascal@23907 45 cp -a $install/usr/bin $fs/usr
pascal@23907 46 cp -a $src/Documentation/*.? $install/usr/share/man
Hans-G?nter@22564 47
pankso@12483 48 # Split mkfs --> btrfs-mkfs
pascal@23907 49 rm $fs/usr/bin/mkfs.btrfs
pascal@3002 50 }