From d2567bfbdf0e9fa6db0a6ed1534831ec859a3e03 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 15 Jun 2022 20:02:02 +0100 Subject: added deps for qemu --- repo/libnfs/libnfs.xibuild | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 repo/libnfs/libnfs.xibuild (limited to 'repo/libnfs/libnfs.xibuild') 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 +} -- cgit v1.2.1