wok-next view fuse2/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children 6716e6b0b403
line source
1 # SliTaz package receipt v2.
3 PACKAGE="fuse2"
4 VERSION="2.9.7"
5 CATEGORY="system-tools"
6 SHORT_DESC="FUSE Filsystem in Userspace, compatible with GVFS"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/libfuse/libfuse"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/postlfs/fuse2.html"
11 REPOLOGY="fuse"
13 TARBALL="fuse-$VERSION.tar.gz"
14 WGET_URL="https://github.com/libfuse/libfuse/releases/download/fuse-$VERSION/$TARBALL"
16 BUILD_DEPENDS="util-linux-mount"
17 SPLIT="$PACKAGE-dev"
19 compile_rules() {
20 export MOUNT_FUSE_PATH=/usr/bin
21 ./configure \
22 --disable-static \
23 $CONFIGURE_ARGS &&
24 fix libtool &&
25 make &&
26 make install || return 1
28 rm -rf $install/etc/init.d
29 # -> fuse-common
30 rm -rf $install/etc/udev
31 rm $install/usr/bin/mount.fuse
32 # handled by udev
33 rm -rf $install/dev
35 cook_pick_docs doc/how-fuse-works doc/kernel.txt
36 }
38 genpkg_rules() {
39 case $PACKAGE in
40 fuse2)
41 copy @std
42 DEPENDS="fuse-common"
43 PROVIDE="fuse"
44 TAGS="filesystem"
45 ;;
46 *-dev)
47 copy @dev
48 PROVIDE="fuse-dev"
49 ;;
50 esac
51 }