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

NAME="libnfs"
DESC="Client library for accessing NFS shares"

MAKEDEPS="autoconf automake m4 libtool"

PKG_VER=5.0.2
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
}