wok-next annotate btrfs-progs/receipt @ rev 21222
updated btrfs-progs again (4.9.1 -> 5.3.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 03 10:11:11 2019 +0100 (2019-12-03) |
parents | e9d438f88a0f |
children | 31ea361b15d5 |
rev | line source |
---|---|
al@19755 | 1 # SliTaz package receipt v2. |
pascal@3002 | 2 |
pascal@3002 | 3 PACKAGE="btrfs-progs" |
Hans-G?nter@21221 | 4 VERSION="5.3.1" |
pascal@3002 | 5 CATEGORY="system-tools" |
al@19755 | 6 SHORT_DESC="Btrfs Filesystem" |
pascal@3002 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
al@19755 | 9 WEB_SITE="https://btrfs.wiki.kernel.org/index.php/Main_Page" |
al@21017 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/postlfs/btrfs-progs.html" |
pankso@12483 | 11 |
al@19811 | 12 TARBALL="$PACKAGE-v$VERSION.tar.xz" |
al@19811 | 13 WGET_URL="https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/$TARBALL" |
al@19755 | 14 |
Hans-G?nter@21221 | 15 BUILD_DEPENDS="acl-dev e2fsprogs e2fsprogs-dev libcomerr lzo-dev |
Hans-G?nter@21222 | 16 util-linux-blkid-dev util-linux-uuid-dev zlib-dev zstd-dev" #autoconf automake" |
al@21020 | 17 SPLIT="btrfs-mkfs $PACKAGE btrfs-libs btrfs-dev" |
pascal@3002 | 18 |
Hans-G?nter@21221 | 19 compile_rules() |
Hans-G?nter@21221 | 20 { |
al@21017 | 21 sed -i '1,106 s/\.gz//g' Documentation/Makefile.in |
al@19811 | 22 |
Hans-G?nter@21221 | 23 ./configure \ |
Hans-G?nter@21221 | 24 --prefix=/usr \ |
Hans-G?nter@21221 | 25 --bindir=/bin \ |
Hans-G?nter@21221 | 26 --libdir=/lib \ |
Hans-G?nter@21221 | 27 --disable-documentation \ |
pascal@18215 | 28 $CONFIGURE_ARGS && |
pascal@18215 | 29 make && |
al@21017 | 30 make install || return 1 |
al@19811 | 31 |
al@21017 | 32 mkdir -p $install/usr/lib/ |
al@19811 | 33 ln -sfv ../../lib/$(readlink $install/lib/libbtrfs.so) \ |
al@21017 | 34 $install/usr/lib/libbtrfs.so |
al@19811 | 35 rm -v $install/lib/libbtrfs.a $install/lib/libbtrfs.so |
pascal@3002 | 36 } |
pascal@3002 | 37 |
Hans-G?nter@21221 | 38 genpkg_rules() |
Hans-G?nter@21221 | 39 { |
al@19755 | 40 case $PACKAGE in |
al@19811 | 41 btrfs-mkfs) |
al@19811 | 42 copy mkfs.btrfs |
al@19811 | 43 CAT="system-tools|creation tool" |
al@19811 | 44 DEPENDS="lzo util-linux-blkid util-linux-uuid zlib" |
al@19811 | 45 ;; |
al@19755 | 46 btrfs-progs) |
al@20513 | 47 copy bin/ @rm |
al@19755 | 48 TAGS="filesystem fault-tolerance" |
al@19755 | 49 PROVIDE="btrfs-tools" |
Hans-G?nter@21221 | 50 DEPENDS="acl btrfs-mkfs e2fsprogs libcomerr lzo |
Hans-G?nter@21221 | 51 util-linux-blkid util-linux-uuid zlib" |
al@19755 | 52 ;; |
al@19755 | 53 btrfs-libs) |
al@19755 | 54 copy *.so* |
al@19789 | 55 CAT="system-tools|library" |
al@19755 | 56 DEPENDS="lzo util-linux-blkid util-linux-uuid zlib" |
al@19755 | 57 ;; |
al@19755 | 58 *-dev) copy @dev;; |
al@19755 | 59 esac |
pascal@3002 | 60 } |