blob: 10cd34ba532fb38b3d64127c5521dca5935c53b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=fuse
pkgver=2.8.4
pkgrel=0
pkgdesc="A library that makes it possible to implement a filesystem in a userspace program."
url="http://fuse.sourceforge.net/"
license="GPL2"
depends=
makedepends="pkgconfig libiconv-dev gettext-dev
autoconf automake libtool"
install=
subpackages="$pkgname-dev"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
fuse-iconv.patch
fuse.initd"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
patch -p1 -i "$srcdir"/fuse-iconv.patch || return 1
aclocal -I m4 && libtoolize && autoconf && automake
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
--enable-lib \
--enable-util \
--bindir=/bin \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm -rf "$pkgdir"/dev
rm -rf "$pkgdir"/etc/init.d
install -Dm755 "$srcdir"/fuse.initd "$pkgdir"/etc/init.d/fuse
# create config
install -d "$pkgdir"/etc
cat >"$pkgdir"/etc/fuse.conf << _EOF_
# Set the maximum number of FUSE mounts allowed to non-root users.
# The default is 1000.
#
#mount_max = 1000
# Allow non-root users to specify the 'allow_other' or 'allow_root'
# mount options.
#
#user_allow_other
_EOF_
}
md5sums="a26ec54e410bb826a387947b10c0fd2c fuse-2.8.4.tar.gz
61db9e886d6f0a01ceca3731cba1f285 fuse-iconv.patch
5983726cfabf0830dffbbbf9a3abcddc fuse.initd"
|