summaryrefslogtreecommitdiff
path: root/repo/fuse/fuse.xibuild
blob: 849ac991dcb0937637bd075df5f31efcb11f938e (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
#!/bin/sh

NAME="fuse"
DESC="A library that makes it possible to implement a filesystem in a userspace program."

MAKEDEPS=" gettext"

PKG_VER=2.9.9
SOURCE="https://github.com/libfuse/libfuse/releases/download/fuse-$PKG_VER/fuse-$PKG_VER.tar.gz"

ADDITIONAL="
fix-realpath.patch
"

prepare () {
    apply_patches
}

build() {
	UDEV_RULES_PATH='/lib/udev/rules.d' ./configure \
		--prefix=/usr \
		--enable-static \
		--enable-shared \
		--disable-example \
		--enable-lib \
		--enable-util \
		--bindir=/bin
	make
}

package() {
	make DESTDIR="$PKG_DEST" install
	rm -r "$PKG_DEST"/dev "$PKG_DEST"/etc/init.d
}