wok-next view fuse/receipt @ rev 20114
Up xdelta3 (3.1.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 30 10:18:38 2017 +0100 (2017-10-30) |
parents | f463de72afe3 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="fuse"
4 VERSION="2.9.7"
5 CATEGORY="system-tools"
6 SHORT_DESC="Fuse Filsystem in user space"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://fuse.sourceforge.net/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/libfuse/libfuse/releases/download/fuse-$VERSION/$TARBALL"
15 SPLIT="fuse-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # http://www.linuxfromscratch.org/blfs/view/stable/postlfs/fuse.html
21 ./configure \
22 --disable-static \
23 INIT_D_PATH=/tmp/init.d \
24 $CONFIGURE_ARGS &&
25 make &&
26 make install &&
28 mkdir -p $install/lib &&
29 mv -v $install/usr/lib/libfuse.so.* $install/lib &&
30 ln -sfv ../../lib/libfuse.so.$VERSION $install/usr/lib/libfuse.so &&
31 rm -rf $install/tmp/init.d &&
32 mkdir -p $install/usr/share/doc/fuse-$VERSION &&
33 install -v -m644 doc/how-fuse-works doc/kernel.txt \
34 $install/usr/share/doc/fuse-$VERSION &&
36 mkdir -p $install/etc &&
37 cp $stuff/fuse.conf $install/etc
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 case $PACKAGE in
44 fuse)
45 copy @std
46 CONFIG_FILES="/etc/fuse.conf"
47 TAGS="filesystem"
48 ;;
49 *-dev)
50 copy @dev
51 ;;
52 esac
53 }