From c0db9e7e15a7d5c3711e4d2547456269ccb0b7eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Sat, 22 Jun 2013 01:11:54 -0300 Subject: bfgminer-libre-3.1.0-1: updating version --- libre/bfgminer-libre/PKGBUILD | 23 ++++++++++++----------- libre/bfgminer-libre/remove-dangerous-rpath.patch | 22 +++++++++++----------- 2 files changed, 23 insertions(+), 22 deletions(-) (limited to 'libre') diff --git a/libre/bfgminer-libre/PKGBUILD b/libre/bfgminer-libre/PKGBUILD index 6c6e19ef4..9d0412bd5 100644 --- a/libre/bfgminer-libre/PKGBUILD +++ b/libre/bfgminer-libre/PKGBUILD @@ -1,14 +1,15 @@ -# $Id$ +# $Id: PKGBUILD 92925 2013-06-19 11:31:02Z tredaelli $ # Maintainer: Timothy Redaelli # Contributor: Andy Weidenbaum _pkgname=bfgminer pkgname=bfgminer-libre -pkgver=3.0.0 +pkgver=3.1.0 pkgrel=1 pkgdesc="Bitcoin miner featuring overclocking, monitoring, fan speed control and remote management. For FPGA/GPU/CPU Bitcoin mining, without nonfree OpenCL recommendation." arch=('i686' 'x86_64' 'mips64el') -depends=('curl' 'jansson') +depends=('curl' 'jansson' 'libusbx' 'lm_sensors') +makedepends=('uthash' 'yasm') replaces=$_pkgname conflicts=$_pkgname provides=$_pkgname=$pkgver @@ -16,20 +17,20 @@ url='https://bitcointalk.org/index.php?topic=168174.0' license=('GPL3') options=(!libtool) source=(http://luke.dashjr.org/programs/bitcoin/files/$_pkgname/$pkgver/$_pkgname-$pkgver.tbz2 - change-kernel-path.patch remove-dangerous-rpath.patch) -sha256sums=('86f7f977ed57b8d61c728f88a3e5962aa1df0723d667c45b1e1bfa5152292400' - 'a551f73a430809a9b13bb535a503d24f8fd6d35a07bc579b5616d270a1bbf369' - '2c6d09a5e567f5099c9b117415013bf28e7b7aa75c436515d28bc7640f905db2') +sha256sums=('2f0537c361c1e2e41afff788d7a10e527a555c8d1d63f7997b3fa29afcdf4c19' + 'c47eb443b870262e3e1a5d6441a06f72c9ca06c0abae459ab577a3f289a91e7a') -[[ "$CARCH" == "x86_64" ]] && makedepends+=('yasm') +prepare() { + cd "$srcdir"/$pkgname-$pkgver + + patch -p0 < "${srcdir}"/remove-dangerous-rpath.patch + NOSUBMODULES=1 ./autogen.sh +} build() { cd "$srcdir"/$_pkgname-$pkgver - patch -p0 < "${srcdir}"/change-kernel-path.patch - patch -p0 < "${srcdir}"/remove-dangerous-rpath.patch - autoreconf -fi ./configure --prefix=/usr --enable-cpumining --enable-scrypt make } diff --git a/libre/bfgminer-libre/remove-dangerous-rpath.patch b/libre/bfgminer-libre/remove-dangerous-rpath.patch index a2bcfc87b..b56cb21ba 100644 --- a/libre/bfgminer-libre/remove-dangerous-rpath.patch +++ b/libre/bfgminer-libre/remove-dangerous-rpath.patch @@ -1,11 +1,11 @@ ---- Makefile.am.orig -+++ Makefile.am -@@ -38,7 +38,7 @@ - if NEED_LIBBLKMAKER - SUBDIRS += libblkmaker - bfgminer_CPPFLAGS += -Ilibblkmaker --bfgminer_LDFLAGS += -Llibblkmaker/.libs -Wl,-rpath,libblkmaker/.libs -+bfgminer_LDFLAGS += -Llibblkmaker/.libs - bfgminer_LDADD += -lblkmaker_jansson-0.1 -lblkmaker-0.1 - - if HAVE_CYGWIN +--- configure.ac.orig ++++ configure.ac +@@ -514,7 +514,7 @@ + ]) + else + libblkmaker_CFLAGS='-Ilibblkmaker' +- libblkmaker_LDFLAGS='-Llibblkmaker/.libs -Wl,-rpath,libblkmaker/.libs' ++ libblkmaker_LDFLAGS='-Llibblkmaker/.libs' + libblkmaker_LIBS='-lblkmaker_jansson-0.1 -lblkmaker-0.1' + AC_CONFIG_SUBDIRS([libblkmaker]) + fi -- cgit v1.2.3-2-g168b