diff options
Diffstat (limited to 'repo/fuse/fuse.xibuild')
-rw-r--r-- | repo/fuse/fuse.xibuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/repo/fuse/fuse.xibuild b/repo/fuse/fuse.xibuild new file mode 100644 index 0000000..849ac99 --- /dev/null +++ b/repo/fuse/fuse.xibuild @@ -0,0 +1,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 +} + |