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

updated blender again (2.75a -> 2.81)
author Hans-G?nter Theisgen
date Tue Dec 03 08:43:28 2019 +0100 (2019-12-03)
parents f48456621a9d
children e9d438f88a0f
line source
1 # SliTaz package receipt v2.
3 PACKAGE="btrfs-progs"
4 VERSION="4.9.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="libcomerr util-linux-uuid-dev e2fsprogs e2fsprogs-dev zlib-dev \
16 acl-dev util-linux-blkid-dev lzo-dev" #autoconf automake"
17 SPLIT="btrfs-mkfs $PACKAGE btrfs-libs btrfs-dev"
19 compile_rules() {
20 sed -i '1,106 s/\.gz//g' Documentation/Makefile.in
22 ./configure \
23 --prefix=/usr \
24 --bindir=/bin \
25 --libdir=/lib \
26 --disable-documentation \
27 $CONFIGURE_ARGS &&
28 make &&
29 make install || return 1
31 mkdir -p $install/usr/lib/
32 ln -sfv ../../lib/$(readlink $install/lib/libbtrfs.so) \
33 $install/usr/lib/libbtrfs.so
34 rm -v $install/lib/libbtrfs.a $install/lib/libbtrfs.so
35 }
37 genpkg_rules() {
38 case $PACKAGE in
39 btrfs-mkfs)
40 copy mkfs.btrfs
41 CAT="system-tools|creation tool"
42 DEPENDS="lzo util-linux-blkid util-linux-uuid zlib"
43 ;;
44 btrfs-progs)
45 copy bin/ @rm
46 TAGS="filesystem fault-tolerance"
47 PROVIDE="btrfs-tools"
48 DEPENDS="e2fsprogs libcomerr lzo util-linux-blkid util-linux-uuid \
49 zlib acl btrfs-mkfs"
50 ;;
51 btrfs-libs)
52 copy *.so*
53 CAT="system-tools|library"
54 DEPENDS="lzo util-linux-blkid util-linux-uuid zlib"
55 ;;
56 *-dev) copy @dev;;
57 esac
58 }