wok-next annotate fuse2/receipt @ rev 20401

fuse2: provide fuse
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 04 10:44:24 2017 +0100 (2017-12-04)
parents f2405c282781
children 0e7893ac206d
rev   line source
al@20400 1 # SliTaz package receipt v2.
al@20400 2
al@20400 3 PACKAGE="fuse2"
al@20400 4 VERSION="2.9.7"
al@20400 5 CATEGORY="system-tools"
al@20400 6 SHORT_DESC="FUSE Filsystem in Userspace, compatible with GVFS"
al@20400 7 MAINTAINER="pankso@slitaz.org"
al@20400 8 LICENSE="GPL2"
al@20400 9 WEB_SITE="https://github.com/libfuse/libfuse"
al@20400 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/postlfs/fuse2.html"
al@20400 11 HOST_ARCH="i486 arm"
al@20400 12
al@20400 13 TARBALL="fuse-$VERSION.tar.gz"
al@20400 14 WGET_URL="https://github.com/libfuse/libfuse/releases/download/fuse-$VERSION/$TARBALL"
al@20400 15
al@20400 16 BUILD_DEPENDS="util-linux-mount"
al@20400 17 SPLIT="fuse2-dev"
al@20400 18
al@20400 19 compile_rules() {
al@20400 20 export MOUNT_FUSE_PATH=/usr/bin
al@20400 21 ./configure \
al@20400 22 --disable-static \
al@20400 23 $CONFIGURE_ARGS &&
al@20400 24 make &&
al@20400 25 make install || return 1
al@20400 26
al@20400 27 rm -rf $install/etc/init.d
al@20400 28 # -> fuse-common
al@20400 29 rm -rf $install/etc/udev
al@20400 30 rm $install/usr/bin/mount.fuse
al@20400 31 # handled by udev
al@20400 32 rm -rf $install/dev
al@20400 33
al@20400 34 cook_pick_docs doc/how-fuse-works doc/kernel.txt
al@20400 35 }
al@20400 36
al@20400 37 genpkg_rules() {
al@20400 38 case $PACKAGE in
al@20400 39 fuse2)
al@20400 40 copy @std
al@20400 41 DEPENDS="fuse-common"
pascal@20401 42 PROVIDE="fuse"
al@20400 43 TAGS="filesystem"
al@20400 44 ;;
al@20400 45 *-dev)
al@20400 46 copy @dev
al@20400 47 PROVIDE="fuse-dev"
al@20400 48 ;;
al@20400 49 esac
al@20400 50 }