wok-next annotate btrfs-progs/receipt @ rev 19755
Up lzo, btrfs-progs.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jun 09 01:22:21 2017 +0300 (2017-06-09) |
parents | fd43b38b883b |
children | c1d8355335f2 |
rev | line source |
---|---|
al@19755 | 1 # SliTaz package receipt v2. |
pascal@3002 | 2 |
pascal@3002 | 3 PACKAGE="btrfs-progs" |
al@19755 | 4 VERSION="4.9.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" |
pankso@12483 | 10 |
al@19755 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19755 | 12 WGET_URL="https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git/snapshot/$TARBALL" |
al@19755 | 13 |
pascal@15829 | 14 BUILD_DEPENDS="util-linux-uuid-dev e2fsprogs e2fsprogs-dev zlib-dev acl-dev \ |
al@19755 | 15 util-linux-blkid-dev lzo-dev autoconf automake" |
al@19755 | 16 SPLIT="btrfs-libs btrfs-mkfs btrfs-dev" |
pascal@3002 | 17 |
pascal@3002 | 18 # Rules to configure and make the package. |
pascal@3002 | 19 compile_rules() |
pascal@3002 | 20 { |
pascal@18215 | 21 ./autogen.sh |
al@19755 | 22 ./configure \ |
al@19755 | 23 --prefix=/usr \ |
pascal@18215 | 24 --sysconfdir=/etc \ |
pascal@18215 | 25 --disable-documentation \ |
pascal@18215 | 26 $CONFIGURE_ARGS && |
pascal@18215 | 27 make && |
al@19755 | 28 make DESTDIR=$DESTDIR prefix=/usr -j1 install |
pascal@3002 | 29 } |
pascal@3002 | 30 |
pascal@3002 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3002 | 32 genpkg_rules() |
pascal@3002 | 33 { |
al@19755 | 34 case $PACKAGE in |
al@19755 | 35 btrfs-progs) |
al@19755 | 36 copy bin/ |
al@19755 | 37 rm $fs/usr/bin/mkfs.btrfs |
al@19755 | 38 TAGS="filesystem fault-tolerance" |
al@19755 | 39 PROVIDE="btrfs-tools" |
al@19755 | 40 DEPENDS="e2fsprogs libcomerr lzo util-linux-blkid util-linux-uuid \ |
al@19755 | 41 zlib acl btrfs-mkfs" |
al@19755 | 42 ;; |
al@19755 | 43 btrfs-libs) |
al@19755 | 44 copy *.so* |
al@19755 | 45 CATEGORY="system-tools|library" |
al@19755 | 46 DEPENDS="lzo util-linux-blkid util-linux-uuid zlib" |
al@19755 | 47 ;; |
al@19755 | 48 btrfs-mkfs) |
al@19755 | 49 copy mkfs.btrfs |
al@19755 | 50 CAT="system-tools|creation tool" |
al@19755 | 51 DEPENDS="lzo util-linux-blkid util-linux-uuid zlib" |
al@19755 | 52 ;; |
al@19755 | 53 *-dev) copy @dev;; |
al@19755 | 54 esac |
pascal@3002 | 55 } |