wok-6.x annotate btrfs-progs/receipt @ rev 23907
Up btrfs-progs (5.7)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 03 16:02:48 2020 +0000 (2020-08-03) |
parents | 5261e289a47f |
children | a3b6dd3aac6f |
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@3002 | 21 # Rules to configure and make the package. |
pascal@3002 | 22 compile_rules() |
pascal@3002 | 23 { |
Hans-G?nter@22564 | 24 ./autogen.sh && |
Hans-G?nter@22564 | 25 ./configure \ |
Hans-G?nter@22564 | 26 --prefix=/usr \ |
Hans-G?nter@22564 | 27 --sysconfdir=/etc \ |
Hans-G?nter@22564 | 28 --disable-documentation \ |
pascal@18215 | 29 $CONFIGURE_ARGS && |
pascal@18215 | 30 make && |
pascal@18388 | 31 make DESTDIR=$DESTDIR prefix=/usr -j 1 install |
pascal@3002 | 32 } |
pascal@3002 | 33 |
pascal@3002 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3002 | 35 genpkg_rules() |
pascal@3002 | 36 { |
pascal@23907 | 37 mkdir -p $fs/usr $install/usr/share/man |
Hans-G?nter@22564 | 38 |
pascal@23907 | 39 cp -a $install/usr/bin $fs/usr |
pascal@23907 | 40 cp -a $src/Documentation/*.? $install/usr/share/man |
Hans-G?nter@22564 | 41 |
pankso@12483 | 42 # Split mkfs --> btrfs-mkfs |
pascal@23907 | 43 rm $fs/usr/bin/mkfs.btrfs |
pascal@3002 | 44 } |