wok-next view btrfs-progs/receipt @ rev 20443
The rest of my "home work" for update many packages (up to Xorg, GTK and Openbox) for Next and mainly for Next64. Since this point this repository is open for commits. Many errors are expected due to harfbuzz-freetype dependency loop...
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Feb 24 16:17:33 2018 +0200 (2018-02-24) |
parents | c1d8355335f2 |
children | d43bf7aae921 |
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"
11 TARBALL="$PACKAGE-v$VERSION.tar.xz"
12 WGET_URL="https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/$TARBALL"
14 BUILD_DEPENDS="util-linux-uuid-dev e2fsprogs e2fsprogs-dev zlib-dev acl-dev \
15 util-linux-blkid-dev lzo-dev" #autoconf automake"
16 SPLIT="btrfs-mkfs btrfs-progs btrfs-libs btrfs-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # http://www.linuxfromscratch.org/blfs/view/stable/postlfs/btrfs-progs.html
22 sed -i '1,106 s/\.gz//g' Documentation/Makefile.in &&
24 ./configure \
25 --prefix=/usr \
26 --bindir=/bin \
27 --libdir=/lib \
28 --disable-documentation \
29 $CONFIGURE_ARGS &&
30 make &&
31 make install &&
33 mkdir -p $install/usr/lib/ &&
34 ln -sfv ../../lib/$(readlink $install/lib/libbtrfs.so) \
35 $install/usr/lib/libbtrfs.so &&
36 rm -v $install/lib/libbtrfs.a $install/lib/libbtrfs.so
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 case $PACKAGE in
43 btrfs-mkfs)
44 copy mkfs.btrfs
45 CAT="system-tools|creation tool"
46 DEPENDS="lzo util-linux-blkid util-linux-uuid zlib"
47 ;;
48 btrfs-progs)
49 copy bin/
50 remove_already_packed
51 TAGS="filesystem fault-tolerance"
52 PROVIDE="btrfs-tools"
53 DEPENDS="e2fsprogs libcomerr lzo util-linux-blkid util-linux-uuid \
54 zlib acl btrfs-mkfs"
55 ;;
56 btrfs-libs)
57 copy *.so*
58 CAT="system-tools|library"
59 DEPENDS="lzo util-linux-blkid util-linux-uuid zlib"
60 ;;
61 *-dev) copy @dev;;
62 esac
63 }