mirror of https://github.com/archzfs/archzfs
parent
94afafbd54
commit
14a135aa0a
@ -0,0 +1,42 @@ |
|||||||
|
# Generated by mksrcinfo v8 |
||||||
|
# Wed Dec 13 19:53:32 UTC 2017 |
||||||
|
pkgbase = spl-dkms |
||||||
|
pkgdesc = Solaris Porting Layer kernel modules. |
||||||
|
pkgver = 0.7.4 |
||||||
|
pkgrel = 1 |
||||||
|
url = http://zfsonlinux.org/ |
||||||
|
arch = x86_64 |
||||||
|
groups = archzfs-dkms |
||||||
|
license = GPL |
||||||
|
makedepends = git |
||||||
|
depends = spl-utils-common=0.7.4 |
||||||
|
depends = dkms |
||||||
|
provides = spl |
||||||
|
conflicts = spl-dkms-git |
||||||
|
conflicts = spl-archiso-linux |
||||||
|
conflicts = spl-linux-hardened |
||||||
|
conflicts = spl-linux-hardened-git |
||||||
|
conflicts = spl-linux-lts |
||||||
|
conflicts = spl-linux-lts-git |
||||||
|
conflicts = spl-linux |
||||||
|
conflicts = spl-linux-git |
||||||
|
conflicts = spl-linux-vfio |
||||||
|
conflicts = spl-linux-vfio-git |
||||||
|
conflicts = spl-linux-zen |
||||||
|
conflicts = spl-linux-zen-git |
||||||
|
conflicts = spl-archiso-linux-headers |
||||||
|
conflicts = spl-linux-hardened-headers |
||||||
|
conflicts = spl-linux-hardened-git-headers |
||||||
|
conflicts = spl-linux-lts-headers |
||||||
|
conflicts = spl-linux-lts-git-headers |
||||||
|
conflicts = spl-linux-headers |
||||||
|
conflicts = spl-linux-git-headers |
||||||
|
conflicts = spl-linux-vfio-headers |
||||||
|
conflicts = spl-linux-vfio-git-headers |
||||||
|
conflicts = spl-linux-zen-headers |
||||||
|
conflicts = spl-linux-zen-git-headers |
||||||
|
source = https://github.com/zfsonlinux/zfs/releases/download/zfs-0.7.4/spl-0.7.4.tar.gz |
||||||
|
sha256sums = SKIP |
||||||
|
|
||||||
|
pkgname = spl-dkms |
||||||
|
|
@ -0,0 +1,42 @@ |
|||||||
|
# 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 . |
||||||
|
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue