2014-08-06 21:16:38 +02:00
|
|
|
# Template file for 'spl'
|
|
|
|
pkgname=spl
|
|
|
|
version=0.6.3
|
2014-08-07 22:32:48 +02:00
|
|
|
revision=2
|
2014-08-06 21:16:38 +02: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}"
|
2014-08-07 22:32:48 +02:00
|
|
|
depends="dkms ${pkgname}-devel>=${version}_${revision} glibc-devel"
|
2014-08-06 21:16:38 +02: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 14:24:46 +01:00
|
|
|
}
|
2014-08-06 21:16:38 +02:00
|
|
|
|
|
|
|
spl-devel_package() {
|
2014-11-23 14:24:46 +01:00
|
|
|
short_desc="Solaris Porting Layer -- development headers"
|
|
|
|
pkg_install() {
|
2014-08-06 21:16:38 +02:00
|
|
|
vmove usr/src/${sourcepkg}-${version}/include
|
2014-11-23 14:24:46 +01:00
|
|
|
}
|
2014-08-06 21:16:38 +02:00
|
|
|
}
|