wok-next annotate 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 |
rev | line source |
---|---|
al@20400 | 1 # SliTaz package receipt v2. |
al@20400 | 2 |
al@20400 | 3 PACKAGE="fuse3" |
Hans-G?nter@21669 | 4 VERSION="3.9.2" |
al@20400 | 5 CATEGORY="system-tools" |
al@20400 | 6 SHORT_DESC="FUSE Filsystem in Userspace" |
al@20400 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@20400 | 8 LICENSE="GPL2" |
al@20400 | 9 WEB_SITE="https://github.com/libfuse/libfuse" |
al@21010 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/postlfs/fuse.html" |
al@20882 | 11 REPOLOGY="fuse" |
al@20400 | 12 |
al@20899 | 13 TARBALL="fuse-$VERSION.tar.xz" |
al@20400 | 14 WGET_URL="https://github.com/libfuse/libfuse/releases/download/fuse-$VERSION/$TARBALL" |
al@20400 | 15 |
Hans-G?nter@21669 | 16 BUILD_DEPENDS="eudev-dev meson ninja" |
al@21020 | 17 SPLIT="fuse-common $PACKAGE $PACKAGE-dev" |
al@20400 | 18 |
Hans-G?nter@21669 | 19 compile_rules() |
Hans-G?nter@21669 | 20 { |
al@20899 | 21 mkdir build |
al@20899 | 22 cd build |
al@20899 | 23 |
Hans-G?nter@21669 | 24 meson .. \ |
Hans-G?nter@21669 | 25 --prefix=/usr \ |
Hans-G?nter@21669 | 26 --sbindir=bin \ |
Hans-G?nter@21669 | 27 --libdir=lib && |
al@20899 | 28 ninja && |
al@20899 | 29 ninja install || return 1 |
al@20400 | 30 |
al@20400 | 31 rm -rf $install/etc/init.d |
al@20400 | 32 # handled by udev |
al@20400 | 33 rm -rf $install/dev |
al@20400 | 34 |
Hans-G?nter@21669 | 35 install -Dm644 $stuff/fuse.conf $install/etc/fuse.conf |
al@20400 | 36 |
al@20899 | 37 cook_pick_docs $src/doc/html/ $src/doc/*.txt $src/doc/*.pdf |
al@20400 | 38 } |
al@20400 | 39 |
al@20400 | 40 # packaging notes: https://github.com/libfuse/libfuse/releases/tag/fuse-3.0.0 |
Hans-G?nter@21669 | 41 genpkg_rules() |
Hans-G?nter@21669 | 42 { |
al@20400 | 43 case $PACKAGE in |
al@20400 | 44 fuse-common) |
al@20400 | 45 copy fuse.conf *.rules |
al@20899 | 46 DEPENDS=" " |
al@20400 | 47 CAT="system-tools|common files" |
al@20400 | 48 CONFIG_FILES="/etc/fuse.conf" |
al@20400 | 49 ;; |
al@20400 | 50 fuse3) |
al@20400 | 51 copy @std @rm |
al@20400 | 52 DEPENDS="fuse-common" |
al@20400 | 53 TAGS="filesystem" |
al@20400 | 54 ;; |
al@20400 | 55 *-dev) |
al@20400 | 56 copy @dev |
al@20400 | 57 ;; |
al@20400 | 58 esac |
al@20400 | 59 } |