blob: 104ec4072b77b52c7642a26487c7d597cc71a670 (
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
42
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=spl
pkgver=0.7.1
pkgrel=0
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
update_config_sub
update_config_guess
}
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="1edd0d21f6bc24c3c1295a3e1002ccc03954b1a8657f34050ca9992aac33eb2caa4356c92c74b1c1767ce69f67f3463bcab749b411b2676b5ed16c6ca838e0fe spl-0.7.1.tar.gz"
|