aboutsummaryrefslogtreecommitdiffstats
path: root/main/spl/APKBUILD
blob: 7244d835873c4f2b8087ba0570683bd35596fd17 (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
38
39
40
41
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>

pkgname=spl
pkgver=0.6.5.9
pkgrel=1
pkgdesc="Solaris Porting Layer (userland)"
url="http://zfsonlinux.org"
arch="all !armhf"
license="GPL"
depends=""
depends_dev=""
makedepends="$depends_dev linux-headers"
install=""
subpackages="$pkgname-doc"
source="https://github.com/zfsonlinux/zfs/releases/download/zfs-$pkgver/spl-$pkgver.tar.gz"

builddir="$srcdir"/spl-$pkgver

prepare() {
	default_prepare || return 1
}

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

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

sha512sums="356db95fcc93eb4ee298efc1ac25d38743572c539fc10b2d1533af861b4fd60804e61c3fb9f9bbad3d7a51cf123113b5b0bcbd49eba1bad7b1d8823d206022e8  spl-0.6.5.9.tar.gz"