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