New package: spl-0.6.3

This commit is contained in:
Christian Neukirchen 2014-08-06 21:16:38 +02:00
parent bc92c36bc1
commit 91f188b8a9
2 changed files with 30 additions and 0 deletions

1
srcpkgs/spl-devel Symbolic link
View file

@ -0,0 +1 @@
spl

29
srcpkgs/spl/template Normal file
View file

@ -0,0 +1,29 @@
# Template file for 'spl'
pkgname=spl
version=0.6.3
revision=1
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}"
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
}
spl-devel_package() {
short_desc="Solaris Porting Layer -- development headers"
pkg_install() {
vmove usr/src/${sourcepkg}-${version}/include
}
}