mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-09 10:42:12 +01:00
63 lines
1.3 KiB
Plaintext
63 lines
1.3 KiB
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=fuse
|
|
pkgver=2.8.6
|
|
pkgrel=0
|
|
pkgdesc="A library that makes it possible to implement a filesystem in a userspace program."
|
|
url="http://fuse.sourceforge.net/"
|
|
arch="all"
|
|
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.initd"
|
|
|
|
|
|
_builddir="$srcdir"/$pkgname-$pkgver
|
|
|
|
prepare() {
|
|
cd "$_builddir"
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
./configure --prefix=/usr \
|
|
--disable-static \
|
|
--enable-shared \
|
|
--disable-example \
|
|
--enable-lib \
|
|
--enable-util \
|
|
--bindir=/bin \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
rm -r "$pkgdir"/usr/lib/*.la \
|
|
"$pkgdir"/dev \
|
|
"$pkgdir"/etc/init.d || return 1
|
|
|
|
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="eaa32c8cef56a981656a786f258a002a fuse-2.8.6.tar.gz
|
|
5983726cfabf0830dffbbbf9a3abcddc fuse.initd"
|