summaryrefslogtreecommitdiffstats
path: root/main/unfs3/APKBUILD
blob: ddddc425dc8bbb27bac5564218662554a3bf66d9 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=unfs3
pkgver=0.9.22
pkgrel=2
pkgdesc="a user-space implementation of the NFSv3 server specification"
url="http://unfs3.sourceforge.net/"
arch="all"
license='GPL'
depends=""
makedepends="flex"
options="!libc_musl"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
subpackages="$pkgname-doc"

build() {
	cd "$srcdir/$pkgname-$pkgver"

	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man \
		|| return 1
	make -j1 || return 1
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make DESTDIR="$pkgdir/" install
}

md5sums="ddf679a5d4d80096a59f3affc64f16e5  unfs3-0.9.22.tar.gz"