aboutsummaryrefslogtreecommitdiffstats
path: root/main/spl/APKBUILD
blob: 194578bc3fb71311fa46489fd1ed34356dc6915a (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=spl
pkgver=0.7.8
pkgrel=0
pkgdesc="Solaris Porting Layer (userland)"
url="http://zfsonlinux.org"
arch="all !armhf"
license="GPL-2.0-or-later"
options="!check" # No test suite
makedepends="automake autoconf libtool linux-headers"
subpackages="$pkgname-doc"
source="https://github.com/zfsonlinux/spl/archive/$pkgname-$pkgver.tar.gz"
builddir="$srcdir"/spl-spl-$pkgver

prepare() {
	default_prepare
	cd "$buildir"
	autoreconf -fi
}

build() {
	cd "$builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--with-config=user
	make
}

package() {
        cd "$builddir"
        make DESTDIR="$pkgdir" install
}
sha512sums="145ff3776db1e58e1f0fb469ca3a74aaa33686262916c42f7782ff723b2e28bea576924e87e06dbb8dd4a44788b5cb8f4ed278b2042910acb3d60a0a9b788612  spl-0.7.8.tar.gz"