wok-next view fuse3/receipt @ rev 20939

Fix brisk-menu, mate-backgrounds, mate-user-guide
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Aug 26 09:13:55 2018 +0300 (2018-08-26)
parents d958fec46c9f
children 33dc3c330cc7
line source
1 # SliTaz package receipt v2.
3 PACKAGE="fuse3"
4 VERSION="3.2.4"
5 CATEGORY="system-tools"
6 SHORT_DESC="FUSE Filsystem in Userspace"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/libfuse/libfuse"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/postlfs/fuse.html"
11 REPOLOGY="fuse"
13 TARBALL="fuse-$VERSION.tar.xz"
14 WGET_URL="https://github.com/libfuse/libfuse/releases/download/fuse-$VERSION/$TARBALL"
16 BUILD_DEPENDS="meson ninja eudev-dev"
17 SPLIT="fuse-common fuse3 fuse3-dev"
19 compile_rules() {
20 mkdir build
21 cd build
23 # -Db_lto: see https://github.com/libfuse/libfuse/issues/198
24 meson-wrapper \
25 -Db_lto=false \
26 .. &&
27 ninja &&
28 ninja install || return 1
30 rm -rf $install/etc/init.d
31 # handled by udev
32 rm -rf $install/dev
34 install -Dm644 $stuff/fuse.conf $install/etc/fuse.conf
36 cook_pick_docs $src/doc/html/ $src/doc/*.txt $src/doc/*.pdf
37 }
39 # packaging notes: https://github.com/libfuse/libfuse/releases/tag/fuse-3.0.0
40 genpkg_rules() {
41 case $PACKAGE in
42 fuse-common)
43 copy fuse.conf *.rules
44 DEPENDS=" "
45 CAT="system-tools|common files"
46 CONFIG_FILES="/etc/fuse.conf"
47 ;;
48 fuse3)
49 copy @std @rm
50 DEPENDS="fuse-common"
51 TAGS="filesystem"
52 ;;
53 *-dev)
54 copy @dev
55 ;;
56 esac
57 }