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.
42 lines
1.5 KiB
42 lines
1.5 KiB
# Maintainer: Jesus Alvarez <jeezusjr at gmail dot com>
|
|
#
|
|
# This PKGBUILD was generated by the archzfs build scripts located at
|
|
#
|
|
# http://github.com/archzfs/archzfs
|
|
#
|
|
#
|
|
pkgname="spl-dkms"
|
|
pkgdesc="Solaris Porting Layer kernel modules."
|
|
|
|
pkgver=0.7.4
|
|
pkgrel=1
|
|
makedepends=("git")
|
|
arch=("x86_64")
|
|
url="http://zfsonlinux.org/"
|
|
source=("https://github.com/zfsonlinux/zfs/releases/download/zfs-0.7.4/spl-0.7.4.tar.gz")
|
|
sha256sums=("SKIP")
|
|
license=("GPL")
|
|
depends=("spl-utils-common=0.7.4" "dkms")
|
|
provides=("spl")
|
|
groups=("archzfs-dkms")
|
|
conflicts=('spl-dkms-git' 'spl-archiso-linux' 'spl-linux-hardened' 'spl-linux-hardened-git' 'spl-linux-lts' 'spl-linux-lts-git' 'spl-linux' 'spl-linux-git' 'spl-linux-vfio' 'spl-linux-vfio-git' 'spl-linux-zen' 'spl-linux-zen-git' 'spl-archiso-linux-headers' 'spl-linux-hardened-headers' 'spl-linux-hardened-git-headers' 'spl-linux-lts-headers' 'spl-linux-lts-git-headers' 'spl-linux-headers' 'spl-linux-git-headers' 'spl-linux-vfio-headers' 'spl-linux-vfio-git-headers' 'spl-linux-zen-headers' 'spl-linux-zen-git-headers' )
|
|
|
|
build() {
|
|
cd "${srcdir}/spl-0.7.4"
|
|
./autogen.sh
|
|
./configure --prefix=/usr --libdir=/usr/lib --sbindir=/usr/bin \
|
|
--with-config=user
|
|
make
|
|
}
|
|
|
|
package() {
|
|
dkmsdir="${pkgdir}/usr/src/spl-0.7.4"
|
|
install -d "${dkmsdir}"
|
|
cp -a ${srcdir}/spl-0.7.4/. ${dkmsdir}
|
|
cd "${dkmsdir}"
|
|
make clean
|
|
make distclean
|
|
find . -name ".git*" -print0 | xargs -0 rm -fr --
|
|
scripts/dkms.mkconf -v 0.7.4 -f dkms.conf -n spl
|
|
chmod g-w,o-w -R .
|
|
}
|
|
|