Magellan Linux

Contents of /trunk/core/fuse/fuse-2.9.7-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 29048 - (show annotations) (download)
Fri May 19 07:55:38 2017 UTC (7 years ago) by niro
File size: 920 byte(s)
auto added: ver bump to 2.9.7-r1
1 # $Id$
2
3 PNAME="fuse"
4 PVER="2.9.7"
5 PBUILD="r1"
6
7 PCAT="sys-fs"
8
9 DESCRIPTION="Fuse userland utilities."
10 HOMEPAGE="https://github.com/libfuse/libfuse/releases/"
11
12 DEPEND=">= virtual/kernel"
13
14 SRCFILE="${PNAME}-${PVER}.tar.gz"
15 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
16
17 sminclude mbuild mtools
18
19 SRC_URI=(
20 https://github.com/libfuse/libfuse/releases/download/${PNAME}-${PVER}/${SRCFILE}
21 mirror://${PNAME}/${SRCFILE}
22 )
23
24 # only fuse-2 releases
25 UP2DATE="updatecmd https://github.com/libfuse/libfuse/releases/ | grep download | grep fuse-2 | highesttarball gz"
26
27 src_compile()
28 {
29 cd ${SRCDIR}
30
31 MOUNT_FUSE_PATH="/usr/sbin" \
32 mconfigure --disable-kernel-module --disable-example || die
33 mmake || die
34 }
35
36 src_install()
37 {
38 cd ${SRCDIR}
39 mmake DESTDIR=${BINDIR} install || die
40
41 # remove initscript
42 mdelete -r /etc/init.d || die
43
44 # udev handles dev nodes
45 mdelete -r /dev || die
46
47 minstalldocs AUTHORS COPYING* FAQ NEWS README* || die
48 }