aboutsummaryrefslogtreecommitdiffstats
path: root/main/libnfs/APKBUILD
blob: 892c2c0a315b99179ba2d7c0c1f97303eed7a20c (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
36
37
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libnfs
pkgver=2.0.0
pkgrel=1
pkgdesc="Client library for accessing NFS shares"
url="https://github.com/sahlberg/libnfs"
arch="all"
options="!check"  # No test suite.
license="LGPL-2.1+, BSD-2-Clause-FreeBSD, GPL-3.0+"
depends_dev=""
makedepends="$depends_dev autoconf automake m4 libtool"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/sahlberg/libnfs/archive/libnfs-$pkgver.tar.gz"

builddir="$srcdir"/libnfs-libnfs-$pkgver

build() {
	cd "$builddir"
	./bootstrap
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var
	make
}

package() {
	cd "$builddir"
        make DESTDIR="$pkgdir" install
}

sha512sums="701dd5317b0395523be89123d473f4da5c3ff53c2e30004a922f649f0dbbd97546ee39ab34fce06278a8148c13200ca383726a0822d09846fad6e308f29e42c7  libnfs-2.0.0.tar.gz"