diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-04-22 11:46:18 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-04-22 11:46:18 -0300 |
commit | 8351d69e64a40d68fa32cfeea227b6fcf7afe974 (patch) | |
tree | d356934e05d439874603a2fc82be47cc2fa698d3 | |
parent | 9b61d50becbeeba6c36f069d832c1cc9b64d883c (diff) | |
download | abslibre-8351d69e64a40d68fa32cfeea227b6fcf7afe974.tar.gz abslibre-8351d69e64a40d68fa32cfeea227b6fcf7afe974.tar.bz2 abslibre-8351d69e64a40d68fa32cfeea227b6fcf7afe974.zip |
cgminer-libre-3.0.0-1: updating version
* Remove cpu mining options - not supported anymore
-rw-r--r-- | libre/cgminer-libre/PKGBUILD | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/libre/cgminer-libre/PKGBUILD b/libre/cgminer-libre/PKGBUILD index cc3749800..dfc4da18e 100644 --- a/libre/cgminer-libre/PKGBUILD +++ b/libre/cgminer-libre/PKGBUILD @@ -7,8 +7,7 @@ pkgname=cgminer-libre _pkgflag=libre -pkgver=2.11.4 -_build= +pkgver=3.0.0 pkgrel=1 pkgdesc="Multi-threaded multi-pool CPU and GPU miner for bitcoin, forked from cpuminer, without nonfree OpenCL recommendation" url='http://forum.bitcoin.org/index.php?topic=28402.0' @@ -19,7 +18,7 @@ makedepends=('opencl-headers') provides=(${pkgname%-$_pkgflag}=$pkgver) conflicts=${pkgname%-$_pkgflag} replaces=${pkgname%-$_pkgflag} -source=("http://ck.kolivas.org/apps/${pkgname%-$_pkgflag}/${pkgname%-$_pkgflag}-$pkgver.tar.bz2" +source=(http://github.com/ckolivas/${pkgname%-$_pkgflag}/archive/v3.0.0.tar.gz "${pkgname%-$_pkgflag}.conf.d" "${pkgname%-$_pkgflag}.service") backup=("etc/conf.d/${pkgname%-$_pkgflag}" "etc/${pkgname%-$_pkgflag}.conf") @@ -27,22 +26,22 @@ backup=("etc/conf.d/${pkgname%-$_pkgflag}" "etc/${pkgname%-$_pkgflag}.conf") [ "$CARCH" == "x86_64" ] && makedepends+=('yasm') build() { - cd "$srcdir" - cd ${pkgname%-$_pkgflag}-$pkgver${_build} + cd "$srcdir/${pkgname%-$_pkgflag}-$pkgver" # Use in-tree jansson since it is not compatible with jansson 2.0 #sed -e 's/^AC_CHECK_LIB(jansson, json_loads, request_jansson=false, request_jansson=true)$/request_jansson=true/' -i configure.ac # Here you may want to use custom CFLAGS #export CFLAGS="-O2 -march=native -mtune=native -msse2" - - ./configure --prefix=/usr --enable-cpumining --enable-scrypt --disable-adl + + ./autogen.sh + ./configure --prefix=/usr --enable-scrypt --disable-adl make } package() { - cd "$srcdir"/${pkgname%-$_pkgflag}-$pkgver${_build} + cd "$srcdir/${pkgname%-$_pkgflag}-$pkgver" make DESTDIR="$pkgdir" install @@ -52,6 +51,6 @@ package() { install -Dm644 ${pkgname%-$_pkgflag}.conf "$pkgdir"/etc/${pkgname%-$_pkgflag}.conf } -md5sums=('535ca85b504bd408d1eeddf4962ed685' +md5sums=('7da3cc51b9ce0598dde955b034616267' 'fe4a243fabe24608f5c05e40f0f118f6' 'bd76fc92fedce18c59ccea2aa79cc664') |