blob: 409565eb4e3120133e532eed5069dfca45868ce2 (
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
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libnfs
pkgver=2.0.0
pkgrel=0
pkgdesc="client library for accessing NFS shares"
url="https://github.com/sahlberg/libnfs"
arch="all"
license="GPL"
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"
|