summaryrefslogtreecommitdiff
path: root/pcr/spl-utils-git/PKGBUILD
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-08-28 13:47:50 -0500
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-09-22 16:14:57 -0300
commit9d1c5c5f172de149bfa07971c2d747b8182d1c75 (patch)
tree6b41db27ccc4d0f08aa587d05e39c55861f08d6e /pcr/spl-utils-git/PKGBUILD
parentdd2cde9adc178d44837d33bc0b521b079260ba3b (diff)
downloadabslibre-9d1c5c5f172de149bfa07971c2d747b8182d1c75.tar.gz
abslibre-9d1c5c5f172de149bfa07971c2d747b8182d1c75.tar.bz2
abslibre-9d1c5c5f172de149bfa07971c2d747b8182d1c75.zip
spl-utils-git: add new package to [pcr]
Diffstat (limited to 'pcr/spl-utils-git/PKGBUILD')
-rw-r--r--pcr/spl-utils-git/PKGBUILD49
1 files changed, 49 insertions, 0 deletions
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 <jeezusjr at gmail dot com>
+# Contributor (Arch): Kyle Fuller <inbox at kylefuller dot co dot uk>
+# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
+#
+# 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
+}