zfs/PKGBUILD-spl-modules.in

24 lines
642 B
Plaintext
Raw Normal View History

# 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
}