diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-02 06:41:22 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-02 06:41:22 -0300 |
commit | fcce4e670cd2d81990b3f50e8a682b44d40a73cc (patch) | |
tree | 2634d6d68316f3f4dd51f378e826da884a919288 /libre/bfgminer/PKGBUILD | |
parent | c5822ca785d156da9849d5e25dc79a93d1fac22d (diff) | |
download | abslibre-fcce4e670cd2d81990b3f50e8a682b44d40a73cc.tar.gz abslibre-fcce4e670cd2d81990b3f50e8a682b44d40a73cc.tar.bz2 abslibre-fcce4e670cd2d81990b3f50e8a682b44d40a73cc.zip |
remove parabola suffix and add complex pkgrel on the packages
Diffstat (limited to 'libre/bfgminer/PKGBUILD')
-rw-r--r-- | libre/bfgminer/PKGBUILD | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/libre/bfgminer/PKGBUILD b/libre/bfgminer/PKGBUILD new file mode 100644 index 000000000..1a1508af8 --- /dev/null +++ b/libre/bfgminer/PKGBUILD @@ -0,0 +1,47 @@ +# $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 +pkgver=4.7.0 +pkgrel=1.parabola1 +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}-libre" "${pkgname}-parabola") +conflicts=("${pkgname}-libre" "${pkgname}-parabola") +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 +} |