wok-next view fuse3/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents d5aab818505e
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="fuse3"
4 VERSION="3.9.2"
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/svn/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="eudev-dev meson ninja"
17 SPLIT="fuse-common $PACKAGE $PACKAGE-dev"
19 compile_rules()
20 {
21 mkdir build
22 cd build
24 meson .. \
25 --prefix=/usr \
26 --sbindir=bin \
27 --libdir=lib &&
28 ninja &&
29 ninja install || return 1
31 rm -rf $install/etc/init.d
32 # handled by udev
33 rm -rf $install/dev
35 install -Dm644 $stuff/fuse.conf $install/etc/fuse.conf
37 cook_pick_docs $src/doc/html/ $src/doc/*.txt $src/doc/*.pdf
38 }
40 # packaging notes: https://github.com/libfuse/libfuse/releases/tag/fuse-3.0.0
41 genpkg_rules()
42 {
43 case $PACKAGE in
44 fuse-common)
45 copy fuse.conf *.rules
46 DEPENDS=" "
47 CAT="system-tools|common files"
48 CONFIG_FILES="/etc/fuse.conf"
49 ;;
50 fuse3)
51 copy @std @rm
52 DEPENDS="fuse-common"
53 TAGS="filesystem"
54 ;;
55 *-dev)
56 copy @dev
57 ;;
58 esac
59 }