diff options
Diffstat (limited to 'libre')
-rw-r--r-- | libre/cgminer-libre/PKGBUILD | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/libre/cgminer-libre/PKGBUILD b/libre/cgminer-libre/PKGBUILD index fafe50b50..d3f056dbc 100644 --- a/libre/cgminer-libre/PKGBUILD +++ b/libre/cgminer-libre/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 99235 2013-10-26 09:56:23Z fyan $ +# $Id: PKGBUILD 100433 2013-11-04 11:01:53Z fyan $ # Maintainer: Felix Yan <felixonmars@gmail.com> # Contributor: monson <holymonson@gmail.com> # Contributor: Thomas Dziedzic < gostrc at gmail > @@ -7,7 +7,9 @@ _pkgname=cgminer pkgname=cgminer-libre -pkgver=3.6.6 +pkgver=3.7.0 +#_pkgver=3.6.6 +_pkgver=$pkgver pkgrel=1 pkgdesc="Multi-threaded multi-pool GPU, FPGA and ASIC miner for bitcoin and derivative coins, without nonfree OpenCL recommendation" url='http://forum.bitcoin.org/index.php?topic=28402.0' @@ -18,7 +20,7 @@ conflicts=$_pkgname provides=$_pkgname=$pkgver depends=('curl' 'mesa-libcl' 'libusbx' 'jansson') makedepends=('opencl-headers') -source=("http://ck.kolivas.org/apps/$_pkgname/$_pkgname-${pkgver}.tar.bz2" +source=("http://ck.kolivas.org/apps/$_pkgname/$_pkgname-${_pkgver}.tar.bz2" "$_pkgname.conf.d" "$_pkgname.service") backup=("etc/conf.d/$_pkgname" "etc/$_pkgname.conf") @@ -26,7 +28,7 @@ backup=("etc/conf.d/$_pkgname" "etc/$_pkgname.conf") [ "$CARCH" == "x86_64" ] && makedepends+=('yasm') build() { - cd "$srcdir/$_pkgname-$pkgver" + cd "$srcdir/$_pkgname-$_pkgver" # We have latest jansson and libusb - just use them sed "s|ac_subdirs_all='compat/libusb\-1.0\ncompat/jansson-2.5'||" -i ./configure @@ -36,8 +38,8 @@ build() { sed 's|JANSSON_LIBS="compat/jansson-2.5/src/.libs/libjansson.a"|JANSSON_LIBS=-ljansson|' -i ./configure sed 's|compat/Makefile ||' -i ./configure - sed 's|JANSSON_INCLUDES = -I$(top_srcdir)/compat/jansson-2.5/src||' -i ./Makefile.in - sed 's|USBUTILS_INCLUDES = -I$(top_srcdir)/compat/libusb\-1.0/libusb|USBUTILS_INCLUDES = -I/usr/include/libusb-1.0|' -i ./Makefile.in + sed 's|JANSSON_INCLUDES = .*||' -i ./Makefile.in + sed 's|USBUTILS_INCLUDES = .*|USBUTILS_INCLUDES = -I/usr/include/libusb-1.0|' -i ./Makefile.in sed 's|SUBDIRS = lib compat ccan|SUBDIRS = lib ccan|' -i ./Makefile.in rm -r compat @@ -56,6 +58,8 @@ build() { --enable-avalon \ --enable-klondike \ --enable-bitfury \ + --enable-hashfast \ + --enable-knc \ --with-system-libusb \ --disable-adl # For license issues @@ -63,7 +67,7 @@ build() { } package() { - cd "$srcdir/$_pkgname-$pkgver" + cd "$srcdir/$_pkgname-$_pkgver" make DESTDIR="$pkgdir" install @@ -76,6 +80,6 @@ package() { install -Dm644 $_pkgname.conf "$pkgdir"/etc/$_pkgname.conf } -sha512sums=('1f913118fd3a2757a9fa9b2ffb8f1527109e90626044362ce94bbf93e876448cace189bc6c6e0c28f33d71ecc0488312d60530ef20baadf9894e82891b15171d' +sha512sums=('40abe81952a67b4143a5f51e52d3a7787832ba36723ddc8f926b8f0dd190c9a4d1118c120005160ad8d5326a4e0c77c4334a269827170000a96642780a0a54be' '99c38bc395848f9712ce172343d31f5c60f5d8ac1cfe2f48df8f3ec6c488fc275763a79c5ef36b99f32faa465b5a65284b38e8a63ef9b144075ee13971313b41' '3317b60c6b1f14c47d8ee636113ef40a4023ab14054129de80a37947b381fd2b647a7053f4e1bb639efa225a514e862fa531908714c34040dda2d6221dde7f5f') |