diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-08-22 23:28:32 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-08-22 23:28:32 -0300 |
commit | ca067d56dda6641aedacf713ee7d5c87c69f588f (patch) | |
tree | a65b04f941995643afc8dabbdd89672389733ae8 /libre/bfgminer-parabola/PKGBUILD | |
parent | 57089d389a3b376fe68f7bca3672d579f292de18 (diff) | |
download | abslibre-ca067d56dda6641aedacf713ee7d5c87c69f588f.tar.gz abslibre-ca067d56dda6641aedacf713ee7d5c87c69f588f.tar.bz2 abslibre-ca067d56dda6641aedacf713ee7d5c87c69f588f.zip |
bfgminer-parabola-4.7.0-1: updating version, replace libre to parabola suffix
Diffstat (limited to 'libre/bfgminer-parabola/PKGBUILD')
-rw-r--r-- | libre/bfgminer-parabola/PKGBUILD | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/libre/bfgminer-parabola/PKGBUILD b/libre/bfgminer-parabola/PKGBUILD new file mode 100644 index 000000000..a7309d7ee --- /dev/null +++ b/libre/bfgminer-parabola/PKGBUILD @@ -0,0 +1,49 @@ +# $Id: PKGBUILD 117772 2014-08-22 15:36:25Z fyan $ +# Maintainer (Arch): Timothy Redaelli <timothy.redaelli@gmail.com> +# Contributor (Arch): Andy Weidenbaum <archbaum@gmail.com> + +_pkgname=bfgminer +pkgname=bfgminer-parabola +pkgver=4.7.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' 'libevent' 'libmicrohttpd' 'libusb' 'lm_sensors') +makedepends=('uthash' 'yasm') +replaces=($_pkgname) +conflicts=($_pkgname) +provides=($_pkgname=$pkgver) +url='http://bfgminer.org/' +license=('GPL3') +source=(http://luke.dashjr.org/programs/bitcoin/files/$_pkgname/$pkgver/$_pkgname-$pkgver.txz + remove-dangerous-rpath.patch) +sha256sums=('044636103f2c399d8c0290e6642ef896cff43de3c025d99a1465e670337aeb0a' + 'd26d07ca23ae25798c4db37cfda1a6a76f22d06e73efab1ddf62b3e1a7eef04c') + +prepare() { + cd "$srcdir"/$_pkgname-$pkgver + + patch -p0 < "${srcdir}"/remove-dangerous-rpath.patch + NOSUBMODULES=1 ./autogen.sh +} + +build() { + cd "$srcdir"/$_pkgname-$pkgver + + ./configure --prefix=/usr \ + --sbindir=/usr/bin \ + --enable-cpumining \ + --enable-bfsb \ + --enable-metabank \ + --enable-scrypt \ + --disable-opencl \ + --with-udevrulesdir=/usr/lib/udev/rules.d + # --enable-knc (FS#33640) + make +} + +package() { + cd "$srcdir"/$_pkgname-$pkgver + + make DESTDIR="$pkgdir" install +} |