summaryrefslogtreecommitdiff
path: root/repo/libnfs/libnfs.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-15 20:02:02 +0100
committerdavidovski <david@davidovski.xyz>2022-06-15 20:02:02 +0100
commitd2567bfbdf0e9fa6db0a6ed1534831ec859a3e03 (patch)
tree684a17eebf446aa1adab1097616f1882c8d51568 /repo/libnfs/libnfs.xibuild
parentd1fc3393cca72e8e432f827f7624e38734fad6dc (diff)
added deps for qemu
Diffstat (limited to 'repo/libnfs/libnfs.xibuild')
-rw-r--r--repo/libnfs/libnfs.xibuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/repo/libnfs/libnfs.xibuild b/repo/libnfs/libnfs.xibuild
new file mode 100644
index 0000000..582fc31
--- /dev/null
+++ b/repo/libnfs/libnfs.xibuild
@@ -0,0 +1,33 @@
+#!/bin/sh
+
+NAME="libnfs"
+DESC="Client library for accessing NFS shares"
+
+MAKEDEPS="autoconf automake m4 libtool"
+
+PKG_VER=5.0.1
+SOURCE="https://github.com/sahlberg/libnfs/archive/libnfs-$PKG_VER.tar.gz"
+
+ADDITIONAL="
+fix-includes.patch
+"
+
+prepare() {
+ apply_patches
+ ./bootstrap
+}
+
+build() {
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var
+ make
+}
+
+package() {
+ make DESTDIR="$PKG_DEST" install
+ rm -f "$PKG_DEST"/usr/lib/*.a
+}