void-packages/srcpkgs/spl/template

30 lines
997 B
Text
Raw Normal View History

2014-08-06 19:16:38 +00:00
# Template file for 'spl'
pkgname=spl
version=0.6.3
revision=2
2014-08-06 19:16:38 +00:00
build_style=gnu-configure
configure_args="--with-config=user --sbindir=/usr/bin"
short_desc="Solaris Porting Layer -- userland and kernel modules (using DKMS)"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://zfsonlinux.org/"
distfiles="http://archive.zfsonlinux.org/downloads/zfsonlinux/spl/spl-${version}.tar.gz"
checksum=898aa3912c73420a0082375679e28267a26d348a84561e25898a171785f41fe3
triggers="dkms"
dkms_modules="spl ${version}"
depends="dkms ${pkgname}-devel>=${version}_${revision} glibc-devel"
2014-08-06 19:16:38 +00:00
post_install() {
vmkdir usr/src
tar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}-${version}.tar.gz -C ${DESTDIR}/usr/src
scripts/dkms.mkconf -v ${version} -f ${DESTDIR}/usr/src/${sourcepkg}-${version}/dkms.conf -n spl
2014-11-23 13:24:46 +00:00
}
2014-08-06 19:16:38 +00:00
spl-devel_package() {
2014-11-23 13:24:46 +00:00
short_desc="Solaris Porting Layer -- development headers"
pkg_install() {
2014-08-06 19:16:38 +00:00
vmove usr/src/${sourcepkg}-${version}/include
2014-11-23 13:24:46 +00:00
}
2014-08-06 19:16:38 +00:00
}