From 9d1c5c5f172de149bfa07971c2d747b8182d1c75 Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Fri, 28 Aug 2015 13:47:50 -0500 Subject: spl-utils-git: add new package to [pcr] --- pcr/spl-utils-git/PKGBUILD | 49 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 pcr/spl-utils-git/PKGBUILD diff --git a/pcr/spl-utils-git/PKGBUILD b/pcr/spl-utils-git/PKGBUILD new file mode 100644 index 000000000..d076a5813 --- /dev/null +++ b/pcr/spl-utils-git/PKGBUILD @@ -0,0 +1,49 @@ +# Maintainer (Arch): Jesus Alvarez +# Contributor (Arch): Kyle Fuller +# Maintainer: Omar Vega Ramos +# +# 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-git" +pkgver=0.6.4.2_r0_g04974ca_4.1.6_1 +pkgrel=1 +license=('GPL') +pkgdesc="Solaris Porting Layer kernel module support files." +makedepends=("git") +arch=("i686" "x86_64") +url="http://zfsonlinux.org/" +source=("git+https://github.com/zfsonlinux/spl.git#commit=04974ca1" + "spl-utils.hostid") +groups=("archzfs-git") +md5sums=('SKIP' + 'a54f0041a9e15b050f25c463f1db7449') +replaces=("spl-utils") +provides=("spl-utils") +conflicts=("spl-utils" "spl-utils-lts") + +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() { + cd "${srcdir}/spl" + make DESTDIR="${pkgdir}" install + + install -D -m644 "${srcdir}"/spl-utils.hostid "${pkgdir}"/etc/hostid +} -- cgit v1.2.3-54-g00ecf