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

Add js, up pam, polkit, polkit-pam; fix typo in btrfs-progs.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jun 20 03:48:54 2017 +0300 (2017-06-20)
parents 0c0843e47b2c
children 46d3691a4f80
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-$VERSION.tar.gz"
12 WGET_URL="https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git/snapshot/$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-libs btrfs-mkfs btrfs-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./autogen.sh
22 ./configure \
23 --prefix=/usr \
24 --sysconfdir=/etc \
25 --disable-documentation \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR prefix=/usr -j1 install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 case $PACKAGE in
35 btrfs-progs)
36 copy bin/
37 rm $fs/usr/bin/mkfs.btrfs
38 TAGS="filesystem fault-tolerance"
39 PROVIDE="btrfs-tools"
40 DEPENDS="e2fsprogs libcomerr lzo util-linux-blkid util-linux-uuid \
41 zlib acl btrfs-mkfs"
42 ;;
43 btrfs-libs)
44 copy *.so*
45 CAT="system-tools|library"
46 DEPENDS="lzo util-linux-blkid util-linux-uuid zlib"
47 ;;
48 btrfs-mkfs)
49 copy mkfs.btrfs
50 CAT="system-tools|creation tool"
51 DEPENDS="lzo util-linux-blkid util-linux-uuid zlib"
52 ;;
53 *-dev) copy @dev;;
54 esac
55 }