[arch-commits] Commit in bfgminer/repos (6 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Fri Jun 9 11:09:43 UTC 2017
Date: Friday, June 9, 2017 @ 11:09:43
Author: bpiotrowski
Revision: 235517
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
bfgminer/repos/community-staging-i686/
bfgminer/repos/community-staging-i686/PKGBUILD
(from rev 235516, bfgminer/trunk/PKGBUILD)
bfgminer/repos/community-staging-i686/remove-dangerous-rpath.patch
(from rev 235516, bfgminer/trunk/remove-dangerous-rpath.patch)
bfgminer/repos/community-staging-x86_64/
bfgminer/repos/community-staging-x86_64/PKGBUILD
(from rev 235516, bfgminer/trunk/PKGBUILD)
bfgminer/repos/community-staging-x86_64/remove-dangerous-rpath.patch
(from rev 235516, bfgminer/trunk/remove-dangerous-rpath.patch)
-------------------------------------------------------+
community-staging-i686/PKGBUILD | 45 ++++++++++++++++
community-staging-i686/remove-dangerous-rpath.patch | 21 +++++++
community-staging-x86_64/PKGBUILD | 45 ++++++++++++++++
community-staging-x86_64/remove-dangerous-rpath.patch | 21 +++++++
4 files changed, 132 insertions(+)
Copied: bfgminer/repos/community-staging-i686/PKGBUILD (from rev 235516, bfgminer/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-06-09 11:09:43 UTC (rev 235517)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Contributor: Andy Weidenbaum <archbaum at gmail.com>
+
+pkgname=bfgminer
+pkgver=5.4.2
+pkgrel=2
+pkgdesc="Bitcoin miner featuring overclocking, monitoring, fan speed control and remote management. For FPGA/GPU/CPU Bitcoin mining."
+arch=('i686' 'x86_64')
+depends=('curl' 'jansson' 'libevent' 'libmicrohttpd' 'libusb' 'lm_sensors')
+makedepends=('uthash' 'yasm')
+optdepends=('opencl-nvidia: OpenCL implementation for NVIDIA')
+url='http://bfgminer.org/'
+license=('GPL3')
+source=(http://luke.dashjr.org/programs/bitcoin/files/$pkgname/$pkgver/$pkgname-$pkgver.txz
+ remove-dangerous-rpath.patch)
+sha256sums=('7030632a08cfc5a3fdca485fd8d7213d8f41560134c54d356426b974d91ce01a'
+ 'ec5289b837cc3b5de7f08603e4ae4d75cfff969a2389fd2aee036486f4aa7420')
+
+prepare() {
+ cd $pkgname-$pkgver
+
+ patch -p1 -i "${srcdir}"/remove-dangerous-rpath.patch
+}
+
+build() {
+ cd $pkgname-$pkgver
+
+ ./configure --prefix=/usr \
+ --sbindir=/usr/bin \
+ --enable-cpumining \
+ --enable-bfsb \
+ --enable-metabank \
+ --enable-scrypt \
+ --enable-opencl \
+ --with-udevrulesdir=/usr/lib/udev/rules.d
+ # --enable-knc (FS#33640)
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+
+ make DESTDIR="$pkgdir" install
+}
Copied: bfgminer/repos/community-staging-i686/remove-dangerous-rpath.patch (from rev 235516, bfgminer/trunk/remove-dangerous-rpath.patch)
===================================================================
--- community-staging-i686/remove-dangerous-rpath.patch (rev 0)
+++ community-staging-i686/remove-dangerous-rpath.patch 2017-06-09 11:09:43 UTC (rev 235517)
@@ -0,0 +1,21 @@
+diff -Naur bfgminer-4.8.0-orig/configure bfgminer-4.8.0/configure
+--- bfgminer-4.8.0-orig/configure 2014-10-04 20:54:28.717071865 -0400
++++ bfgminer-4.8.0/configure 2014-10-04 20:55:50.140274445 -0400
+@@ -14111,7 +14111,7 @@
+ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
+
+ libbase58_CFLAGS='-I'"${ac_abs_top_srcdir}"'/libbase58'
+- libbase58_LIBS='-L'"${ac_abs_top_builddir}"'/libbase58/.libs -Wl,-rpath,\$$ORIGIN/libbase58/.libs'"$origin_LDFLAGS"' -lbase58'
++ libbase58_LIBS='-L'"${ac_abs_top_builddir}"'/libbase58/.libs -Wl,-rpath,/usr/lib'"$origin_LDFLAGS"' -lbase58'
+ libbase58_SUBDIRS=libbase58
+ libbase58_EXTRADEPS=libbase58_directory
+ BUNDLED_LIB_RULES="$BUNDLED_LIB_RULES
+@@ -14380,7 +14380,7 @@
+ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
+
+ libblkmaker_CFLAGS='-I'"${ac_abs_top_srcdir}"'/libblkmaker'
+- libblkmaker_LIBS='-L'"${ac_abs_top_builddir}"'/libblkmaker/.libs -Wl,-rpath,\$$ORIGIN/libblkmaker/.libs'"$origin_LDFLAGS"' -lblkmaker_jansson-0.1 -lblkmaker-0.1'
++ libblkmaker_LIBS='-L'"${ac_abs_top_builddir}"'/libblkmaker/.libs -Wl,-rpath,/usr/lib'"$origin_LDFLAGS"' -lblkmaker_jansson-0.1 -lblkmaker-0.1'
+ libblkmaker_SUBDIRS=libblkmaker
+ libblkmaker_EXTRADEPS=libblkmaker_directory
+ BUNDLED_LIB_RULES="$BUNDLED_LIB_RULES
Copied: bfgminer/repos/community-staging-x86_64/PKGBUILD (from rev 235516, bfgminer/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2017-06-09 11:09:43 UTC (rev 235517)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Contributor: Andy Weidenbaum <archbaum at gmail.com>
+
+pkgname=bfgminer
+pkgver=5.4.2
+pkgrel=2
+pkgdesc="Bitcoin miner featuring overclocking, monitoring, fan speed control and remote management. For FPGA/GPU/CPU Bitcoin mining."
+arch=('i686' 'x86_64')
+depends=('curl' 'jansson' 'libevent' 'libmicrohttpd' 'libusb' 'lm_sensors')
+makedepends=('uthash' 'yasm')
+optdepends=('opencl-nvidia: OpenCL implementation for NVIDIA')
+url='http://bfgminer.org/'
+license=('GPL3')
+source=(http://luke.dashjr.org/programs/bitcoin/files/$pkgname/$pkgver/$pkgname-$pkgver.txz
+ remove-dangerous-rpath.patch)
+sha256sums=('7030632a08cfc5a3fdca485fd8d7213d8f41560134c54d356426b974d91ce01a'
+ 'ec5289b837cc3b5de7f08603e4ae4d75cfff969a2389fd2aee036486f4aa7420')
+
+prepare() {
+ cd $pkgname-$pkgver
+
+ patch -p1 -i "${srcdir}"/remove-dangerous-rpath.patch
+}
+
+build() {
+ cd $pkgname-$pkgver
+
+ ./configure --prefix=/usr \
+ --sbindir=/usr/bin \
+ --enable-cpumining \
+ --enable-bfsb \
+ --enable-metabank \
+ --enable-scrypt \
+ --enable-opencl \
+ --with-udevrulesdir=/usr/lib/udev/rules.d
+ # --enable-knc (FS#33640)
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+
+ make DESTDIR="$pkgdir" install
+}
Copied: bfgminer/repos/community-staging-x86_64/remove-dangerous-rpath.patch (from rev 235516, bfgminer/trunk/remove-dangerous-rpath.patch)
===================================================================
--- community-staging-x86_64/remove-dangerous-rpath.patch (rev 0)
+++ community-staging-x86_64/remove-dangerous-rpath.patch 2017-06-09 11:09:43 UTC (rev 235517)
@@ -0,0 +1,21 @@
+diff -Naur bfgminer-4.8.0-orig/configure bfgminer-4.8.0/configure
+--- bfgminer-4.8.0-orig/configure 2014-10-04 20:54:28.717071865 -0400
++++ bfgminer-4.8.0/configure 2014-10-04 20:55:50.140274445 -0400
+@@ -14111,7 +14111,7 @@
+ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
+
+ libbase58_CFLAGS='-I'"${ac_abs_top_srcdir}"'/libbase58'
+- libbase58_LIBS='-L'"${ac_abs_top_builddir}"'/libbase58/.libs -Wl,-rpath,\$$ORIGIN/libbase58/.libs'"$origin_LDFLAGS"' -lbase58'
++ libbase58_LIBS='-L'"${ac_abs_top_builddir}"'/libbase58/.libs -Wl,-rpath,/usr/lib'"$origin_LDFLAGS"' -lbase58'
+ libbase58_SUBDIRS=libbase58
+ libbase58_EXTRADEPS=libbase58_directory
+ BUNDLED_LIB_RULES="$BUNDLED_LIB_RULES
+@@ -14380,7 +14380,7 @@
+ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
+
+ libblkmaker_CFLAGS='-I'"${ac_abs_top_srcdir}"'/libblkmaker'
+- libblkmaker_LIBS='-L'"${ac_abs_top_builddir}"'/libblkmaker/.libs -Wl,-rpath,\$$ORIGIN/libblkmaker/.libs'"$origin_LDFLAGS"' -lblkmaker_jansson-0.1 -lblkmaker-0.1'
++ libblkmaker_LIBS='-L'"${ac_abs_top_builddir}"'/libblkmaker/.libs -Wl,-rpath,/usr/lib'"$origin_LDFLAGS"' -lblkmaker_jansson-0.1 -lblkmaker-0.1'
+ libblkmaker_SUBDIRS=libblkmaker
+ libblkmaker_EXTRADEPS=libblkmaker_directory
+ BUNDLED_LIB_RULES="$BUNDLED_LIB_RULES
More information about the arch-commits
mailing list