summaryrefslogtreecommitdiff
path: root/pcr/spl-dkms/PKGBUILD
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2017-01-29 15:01:20 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2017-01-29 15:01:20 -0500
commite3ffc5523be982bb32b89d36d15762c5b976cd31 (patch)
treea3516d9201c39c105f0c2d790cf651991a69b5da /pcr/spl-dkms/PKGBUILD
parent443b494d850bdd1bf8b062049ff7eb73cfc0daae (diff)
downloadabslibre-e3ffc5523be982bb32b89d36d15762c5b976cd31.tar.gz
abslibre-e3ffc5523be982bb32b89d36d15762c5b976cd31.tar.bz2
abslibre-e3ffc5523be982bb32b89d36d15762c5b976cd31.zip
Removing zfs-dkms and spl-dkms
Diffstat (limited to 'pcr/spl-dkms/PKGBUILD')
-rw-r--r--pcr/spl-dkms/PKGBUILD61
1 files changed, 0 insertions, 61 deletions
diff --git a/pcr/spl-dkms/PKGBUILD b/pcr/spl-dkms/PKGBUILD
deleted file mode 100644
index 8f25c8f81..000000000
--- a/pcr/spl-dkms/PKGBUILD
+++ /dev/null
@@ -1,61 +0,0 @@
-#
-# Maintainer (Arch): Iacopo Isimbaldi <isiachi@rhye.it>
-# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
-#
-
-pkgbase="spl-dkms"
-pkgname=("spl-dkms" "spl-utils")
-pkgver=0.6.5.8
-pkgrel=1
-license=('GPL')
-makedepends=("git")
-arch=("i686" "x86_64")
-url="http://zfsonlinux.org/"
-source=("git+https://github.com/zfsonlinux/spl.git#tag=spl-${pkgver}"
- "spl-utils.hostid")
-sha256sums=('SKIP'
- 'ad95131bc0b799c0b1af477fb14fcf26a6a9f76079e48bf090acb7e8367bfd0e')
-
-build() {
- cd "${srcdir}/spl"
- ./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_spl-dkms() {
- pkgdesc="Solaris Porting Layer kernel modules."
- depends=("dkms" "spl-utils=${pkgver}-${pkgrel}")
- provides=("spl")
- conflicts=("spl-git" "spl-lts")
- install=spl.install
-
- dkmsdir="${pkgdir}/usr/src/spl-${pkgver}"
- install -d "${dkmsdir}"
- cp -a ${srcdir}/spl/. ${dkmsdir}
-
- cd "${dkmsdir}"
- make clean distclean
- find . -name ".git*" -print0 | xargs -0 rm -fr --
- scripts/dkms.mkconf -v ${pkgver} -f dkms.conf -n spl
- chmod g-w,o-w -R .
-}
-
-package_spl-utils() {
- pkgdesc="Solaris Porting Layer kernel module support files."
- conflicts=("spl-utils-git" "spl-utils-lts")
-
- cd "${srcdir}/spl"
- make DESTDIR="${pkgdir}" install
-
- install -D -m644 "${srcdir}"/spl-utils.hostid "${pkgdir}"/etc/hostid
-}