mirror of https://github.com/archzfs/archzfs
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.2 KiB
46 lines
1.2 KiB
# Maintainer: Jesus Alvarez <jeezusjr at gmail dot com>
|
|
# Contributor: Kyle Fuller <inbox at kylefuller dot co dot uk>
|
|
#
|
|
# This PKGBUILD was generated by the archzfs build scripts located at
|
|
#
|
|
# http://github.com/demizer/archzfs
|
|
#
|
|
# The build script generates and updates the pkgver and _kernel* variables.
|
|
#
|
|
pkgname="spl-utils-lts"
|
|
pkgver=0.6.3_3.10.45
|
|
pkgrel=1
|
|
pkgdesc="Solaris Porting Layer kernel module support files."
|
|
arch=("i686" "x86_64")
|
|
url="http://zfsonlinux.org/"
|
|
source=("http://archive.zfsonlinux.org/downloads/zfsonlinux/spl/spl-0.6.3.tar.gz"
|
|
"spl-utils.hostid")
|
|
groups=("archzfs-lts")
|
|
md5sums=('8df6ce3c8f1d9af6526b36f5079cba59'
|
|
'a54f0041a9e15b050f25c463f1db7449')
|
|
license=("GPL")
|
|
provides=("spl-utils")
|
|
conflicts=("spl-utils" "spl-utils-git")
|
|
|
|
build() {
|
|
cd "${srcdir}/spl-0.6.3"
|
|
./autogen.sh
|
|
|
|
_at_enable=""
|
|
[ "${CARCH}" == "i686" ] && _at_enable="--enable-atomic-spinlocks"
|
|
|
|
./configure --prefix=/usr \
|
|
--libdir=/usr/lib \
|
|
--sbindir=/usr/bin \
|
|
--with-config=user \
|
|
${_at_enable}
|
|
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/spl-0.6.3"
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
install -D -m644 "${srcdir}"/spl-utils.hostid "${pkgdir}"/etc/hostid
|
|
}
|
|
|