wok-next view btrfs-progs/receipt @ rev 21640

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