spl: update to 0.7.11.
This commit is contained in:
parent
054c405cbe
commit
e3a2d85f56
1 changed files with 10 additions and 12 deletions
|
@ -1,34 +1,32 @@
|
|||
# Template file for 'spl'
|
||||
pkgname=spl
|
||||
version=0.7.10
|
||||
revision=2
|
||||
wrksrc="${pkgname}-${pkgname}-${version/r/-}"
|
||||
version=0.7.11
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-config=user"
|
||||
hostmakedepends="automake libtool"
|
||||
hostmakedepends="libtool"
|
||||
short_desc="Solaris Porting Layer -- userland and kernel modules (using DKMS)"
|
||||
maintainer="Toyam Cox <Vaelatern@voidlinux.eu>"
|
||||
license="GPL-2.0-or-later"
|
||||
homepage="https://zfsonlinux.org/"
|
||||
distfiles="https://github.com/zfsonlinux/${pkgname}/archive/${pkgname}-${version/r/-}.tar.gz"
|
||||
checksum=f34513a1804e557eb30af7709fbc32bcea0370cd46ffd7d3ebf6d23ba72c7b3b
|
||||
distfiles="https://github.com/zfsonlinux/zfs/releases/download/zfs-${version}/spl-${version}.tar.gz"
|
||||
checksum=d6ddd225e7f464007c960f10134c8a48fb0de525f75ad05d5ddf36685b1ced67
|
||||
|
||||
dkms_modules="spl ${version/r/-}"
|
||||
dkms_modules="spl ${version}"
|
||||
depends="dkms>=2.2.0.3_9 ${pkgname}-devel>=${version}_${revision}"
|
||||
|
||||
pre_configure() {
|
||||
autoreconf -fi
|
||||
tar czf ../clean.tar.gz .
|
||||
}
|
||||
post_install() {
|
||||
vmkdir usr/src/${pkgname}-${version/r/-}
|
||||
tar xf ../clean.tar.gz -C ${DESTDIR}/usr/src/${pkgname}-${version/r/-}
|
||||
scripts/dkms.mkconf -v ${version/r/-} -f ${DESTDIR}/usr/src/${sourcepkg}-${version/r/-}/dkms.conf -n spl
|
||||
vmkdir usr/src/${pkgname}-${version}
|
||||
tar xf ../clean.tar.gz -C ${DESTDIR}/usr/src/${pkgname}-${version}
|
||||
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/r/-}/include
|
||||
vmove usr/src/${sourcepkg}-${version}/include
|
||||
}
|
||||
}
|
||||
do_clean() {
|
||||
|
|
Loading…
Reference in a new issue