summaryrefslogtreecommitdiff
path: root/libre/bfgminer
diff options
context:
space:
mode:
Diffstat (limited to 'libre/bfgminer')
-rw-r--r--libre/bfgminer/PKGBUILD15
-rw-r--r--libre/bfgminer/remove-dangerous-rpath.patch12
2 files changed, 14 insertions, 13 deletions
diff --git a/libre/bfgminer/PKGBUILD b/libre/bfgminer/PKGBUILD
index 8b3a6bf51..b34d7e285 100644
--- a/libre/bfgminer/PKGBUILD
+++ b/libre/bfgminer/PKGBUILD
@@ -1,10 +1,11 @@
+# $Id: PKGBUILD 147900 2015-11-28 09:47:14Z arojas $
# Maintainer (Arch): Timothy Redaelli <timothy.redaelli@gmail.com>
# Contributor (Arch): Andy Weidenbaum <archbaum@gmail.com>
# Maintainer: Márcio Silva <coadde@parabola.nu>
pkgname=bfgminer
-pkgver=5.3.0
-pkgrel=2.parabola1
+pkgver=5.4.1
+pkgrel=1.parabola1
pkgdesc="Bitcoin miner featuring overclocking, monitoring, fan speed control and remote management. For FPGA/GPU/CPU Bitcoin mining, with opencl-mesa recommendation"
arch=('i686' 'x86_64')
depends=('curl' 'jansson' 'libevent' 'libmicrohttpd' 'libusb' 'lm_sensors')
@@ -16,17 +17,17 @@ url='http://bfgminer.org/'
license=('GPL3')
source=(http://luke.dashjr.org/programs/bitcoin/files/$pkgname/$pkgver/$pkgname-$pkgver.txz
remove-dangerous-rpath.patch)
-sha256sums=('d48fa6e51ff70ee1a85f77334a24f842ca6774c073c2d864fe739f07093ef77f'
- '27d89695ff963dd8f66654b9d454aa725c7db769def708513188fe0a496fda4d')
+sha256sums=('1a0c3e43741d9061aa0b5257353a812b84632fc8ac7d5ec84d91fb134803cc0c'
+ 'ec5289b837cc3b5de7f08603e4ae4d75cfff969a2389fd2aee036486f4aa7420')
prepare() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd $pkgname-$pkgver
patch -p1 -i "${srcdir}"/remove-dangerous-rpath.patch
}
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd $pkgname-$pkgver
./configure --prefix=/usr \
--sbindir=/usr/bin \
@@ -41,7 +42,7 @@ build() {
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}
diff --git a/libre/bfgminer/remove-dangerous-rpath.patch b/libre/bfgminer/remove-dangerous-rpath.patch
index 6152d23c3..897aca505 100644
--- a/libre/bfgminer/remove-dangerous-rpath.patch
+++ b/libre/bfgminer/remove-dangerous-rpath.patch
@@ -1,21 +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
-@@ -12201,7 +12201,7 @@
+@@ -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_srcdir}"'/libbase58/.libs -Wl,-rpath,\$$ORIGIN/libbase58/.libs'"$origin_LDFLAGS"' -lbase58'
-+ libbase58_LIBS='-L'"${ac_abs_top_srcdir}"'/libbase58/.libs -Wl,-rpath,/usr/lib'"$origin_LDFLAGS"' -lbase58'
+- 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
-@@ -12470,7 +12470,7 @@
+@@ -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_srcdir}"'/libblkmaker/.libs -Wl,-rpath,\$$ORIGIN/libblkmaker/.libs'"$origin_LDFLAGS"' -lblkmaker_jansson-0.1 -lblkmaker-0.1'
-+ libblkmaker_LIBS='-L'"${ac_abs_top_srcdir}"'/libblkmaker/.libs -Wl,-rpath,/usr/lib'"$origin_LDFLAGS"' -lblkmaker_jansson-0.1 -lblkmaker-0.1'
+- 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