summaryrefslogtreecommitdiffstats
path: root/PKGBUILD-spl-modules.in
blob: a04bd4fcf0a0e917467ed3c36a106528fc38f070 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Prakash Surya <surya1@llnl.gov>
pkgname=@SPL_META_NAME@-modules
pkgver=@SPL_META_VERSION@
pkgrel=@SPL_META_RELEASE@
pkgdesc="Contains kernel modules for emulating Solaris style primatives in the linux kernel."
arch=(x86_64)
url="git://github.com/zfsonlinux/spl.git"
license=(@LICENSE@)
source=(@SPL_META_NAME@-@SPL_META_VERSION@.tar.gz)

build() {
	cd $srcdir/@SPL_META_NAME@-@SPL_META_VERSION@
	./configure --with-config=kernel \
	            --prefix=/usr \
	            --sysconfdir=/etc \
	            --libexecdir=/usr/lib
	make
}

package() {
	cd $srcdir/@SPL_META_NAME@-@SPL_META_VERSION@
	make DESTDIR=$pkgdir install
}