wok-next annotate fuse3/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 757d032c55c7 |
children | d958fec46c9f |
rev | line source |
---|---|
al@20400 | 1 # SliTaz package receipt v2. |
al@20400 | 2 |
al@20400 | 3 PACKAGE="fuse3" |
al@20400 | 4 VERSION="3.1.1" # next releases require 'meson' currently unpackaged |
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@20400 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/postlfs/fuse.html" |
al@20400 | 11 |
al@20400 | 12 TARBALL="fuse-$VERSION.tar.gz" |
al@20400 | 13 WGET_URL="https://github.com/libfuse/libfuse/releases/download/fuse-$VERSION/$TARBALL" |
al@20400 | 14 |
al@20400 | 15 BUILD_DEPENDS="util-linux-mount" |
al@20400 | 16 SPLIT="fuse-common fuse3 fuse3-dev" |
al@20400 | 17 |
al@20400 | 18 compile_rules() { |
al@20400 | 19 export MOUNT_FUSE_PATH=/usr/bin |
al@20400 | 20 ./configure \ |
al@20400 | 21 --disable-static \ |
al@20400 | 22 $CONFIGURE_ARGS && |
al@20569 | 23 fix libtool && |
al@20400 | 24 make && |
al@20400 | 25 make install || return 1 |
al@20400 | 26 |
al@20400 | 27 rm -rf $install/etc/init.d |
al@20400 | 28 # handled by udev |
al@20400 | 29 rm -rf $install/dev |
al@20400 | 30 |
al@20400 | 31 cook_pick_docs doc/html/ doc/kernel.txt |
al@20400 | 32 |
al@20400 | 33 cp $stuff/fuse.conf $install/etc |
al@20400 | 34 } |
al@20400 | 35 |
al@20400 | 36 # packaging notes: https://github.com/libfuse/libfuse/releases/tag/fuse-3.0.0 |
al@20400 | 37 genpkg_rules() { |
al@20400 | 38 case $PACKAGE in |
al@20400 | 39 fuse-common) |
al@20400 | 40 copy fuse.conf *.rules |
al@20400 | 41 DEPENDS="util-linux-mount" |
al@20400 | 42 CAT="system-tools|common files" |
al@20400 | 43 CONFIG_FILES="/etc/fuse.conf" |
al@20400 | 44 ;; |
al@20400 | 45 fuse3) |
al@20400 | 46 copy @std @rm |
al@20400 | 47 DEPENDS="fuse-common" |
al@20400 | 48 TAGS="filesystem" |
al@20400 | 49 ;; |
al@20400 | 50 *-dev) |
al@20400 | 51 copy @dev |
al@20400 | 52 ;; |
al@20400 | 53 esac |
al@20400 | 54 } |