wok-next view fuse2/receipt @ rev 21722
efivar: typo in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 01 10:31:46 2020 +0000 (2020-09-01) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="fuse2"
4 VERSION="2.9.9"
5 CATEGORY="system-tools"
6 SHORT_DESC="FUSE Filsystem in Userspace, compatible with GVFS"
7 MAINTAINER="maintainer@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 {
21 export MOUNT_FUSE_PATH=/usr/bin
23 ./configure \
24 --disable-static \
25 $CONFIGURE_ARGS &&
26 fix libtool &&
27 make &&
28 make install || return 1
30 rm -rf $install/etc/init.d
31 # -> fuse-common
32 rm -rf $install/etc/udev
33 rm $install/usr/bin/mount.fuse
34 # handled by udev
35 rm -rf $install/dev
37 cook_pick_docs doc/how-fuse-works doc/kernel.txt
38 }
40 genpkg_rules()
41 {
42 case $PACKAGE in
43 fuse2)
44 copy @std
45 DEPENDS="fuse-common"
46 PROVIDE="fuse"
47 TAGS="filesystem"
48 ;;
49 *-dev)
50 copy @dev
51 PROVIDE="fuse-dev"
52 ;;
53 esac
54 }