summaryrefslogtreecommitdiff
path: root/pcr/cpuminer/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2013-12-14 16:44:28 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2013-12-14 16:44:28 -0200
commit5e35ca24c8f1d4b0d6b5f389542dea47998e9b49 (patch)
tree751767a61e85dede21f73f8af42ab4b0fc9afb4d /pcr/cpuminer/PKGBUILD
parentf6b9bfb88971e2fb17bd6f3529ba78836436c504 (diff)
parent0927fe58974ad15173023333046a20b6c3aa4478 (diff)
downloadabslibre-5e35ca24c8f1d4b0d6b5f389542dea47998e9b49.tar.gz
abslibre-5e35ca24c8f1d4b0d6b5f389542dea47998e9b49.tar.bz2
abslibre-5e35ca24c8f1d4b0d6b5f389542dea47998e9b49.zip
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/cpuminer/PKGBUILD')
-rw-r--r--pcr/cpuminer/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/pcr/cpuminer/PKGBUILD b/pcr/cpuminer/PKGBUILD
new file mode 100644
index 000000000..be6cd1678
--- /dev/null
+++ b/pcr/cpuminer/PKGBUILD
@@ -0,0 +1,32 @@
+## Maintainer : gee
+
+name=cpuminer
+pkgname=$name
+pkgver=2.3.2
+pkgrel=5
+pkgdesc="pooler's Litecoin cpuminer."
+arch=('i686' 'x86_64')
+url="https://github.com/pooler/cpuminer"
+depends=('curl' 'jansson')
+license=('GPL2')
+source=("${pkgname}-${pkgver}.zip::https://github.com/pooler/cpuminer/zipball/v${pkgver}"
+ "libcurl.m4")
+
+build() {
+ cpuminer_srcdir=${srcdir}/pooler-cpuminer-*
+ cd ${cpuminer_srcdir}
+ autoreconf -fi -I ..
+ ./configure
+ make ${MAKEFLAGS} CXXFLAGS="-O3 -march=native"
+}
+
+
+package() {
+ cpuminer_srcdir=${srcdir}/pooler-cpuminer-*
+ mkdir -p $pkgdir/usr/bin
+
+ # get compiled binaries
+ install -D -m755 ${cpuminer_srcdir}/minerd $pkgdir/usr/bin/
+}
+md5sums=('ca3200d6574fb6463640e8891555cd12'
+ '5e22a13d29fa628c83c267cf9b4f3218')