Annotation of /trunk/deprecated/fuse/fuse-2.9.7-r2.smage2
Parent Directory | Revision Log
Revision 30746 -
(hide annotations)
(download)
Tue Mar 27 12:22:59 2018 UTC (6 years, 6 months ago) by niro
File size: 956 byte(s)
Tue Mar 27 12:22:59 2018 UTC (6 years, 6 months ago) by niro
File size: 956 byte(s)
-moved to 'deprecated'
1 | niro | 29049 | # $Id$ |
2 | |||
3 | PNAME="fuse" | ||
4 | PVER="2.9.7" | ||
5 | PBUILD="r2" | ||
6 | |||
7 | PCAT="sys-fs" | ||
8 | |||
9 | DESCRIPTION="Fuse userland utilities." | ||
10 | HOMEPAGE="https://github.com/libfuse/libfuse/releases/" | ||
11 | |||
12 | DEPEND=">= virtual/glibc" | ||
13 | SDEPEND=">= dev-util/pkgconfig-0.26" | ||
14 | |||
15 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
17 | |||
18 | sminclude mbuild mtools | ||
19 | |||
20 | SRC_URI=( | ||
21 | https://github.com/libfuse/libfuse/releases/download/${PNAME}-${PVER}/${SRCFILE} | ||
22 | mirror://${PNAME}/${SRCFILE} | ||
23 | ) | ||
24 | |||
25 | # only fuse-2 releases | ||
26 | UP2DATE="updatecmd https://github.com/libfuse/libfuse/releases/ | grep download | grep fuse-2 | highesttarball gz" | ||
27 | |||
28 | src_compile() | ||
29 | { | ||
30 | cd ${SRCDIR} | ||
31 | |||
32 | MOUNT_FUSE_PATH="/usr/sbin" \ | ||
33 | mconfigure --disable-kernel-module --disable-example || die | ||
34 | mmake || die | ||
35 | } | ||
36 | |||
37 | src_install() | ||
38 | { | ||
39 | cd ${SRCDIR} | ||
40 | mmake DESTDIR=${BINDIR} install || die | ||
41 | |||
42 | # remove initscript | ||
43 | mdelete -r /etc/init.d || die | ||
44 | |||
45 | # udev handles dev nodes | ||
46 | mdelete -r /dev || die | ||
47 | |||
48 | minstalldocs AUTHORS COPYING* FAQ NEWS README* || die | ||
49 | } |