wok-next view fuse3/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
parents | 33dc3c330cc7 |
children | 04e5981f79b9 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="fuse3"
4 VERSION="3.2.6"
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="meson ninja eudev-dev"
17 SPLIT="fuse-common $PACKAGE $PACKAGE-dev"
19 compile_rules() {
20 mkdir build
21 cd build
23 meson \
24 --prefix=/usr \
25 --sbindir=bin \
26 --libdir=lib \
27 .. &&
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 case $PACKAGE in
43 fuse-common)
44 copy fuse.conf *.rules
45 DEPENDS=" "
46 CAT="system-tools|common files"
47 CONFIG_FILES="/etc/fuse.conf"
48 ;;
49 fuse3)
50 copy @std @rm
51 DEPENDS="fuse-common"
52 TAGS="filesystem"
53 ;;
54 *-dev)
55 copy @dev
56 ;;
57 esac
58 }