cgminer: update to 3.9.0.

This commit is contained in:
Juan RP 2013-12-25 10:39:21 +01:00
parent af2a40b124
commit 70920fa436
1 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'cgminer'
pkgname=cgminer
version=3.8.3
version=3.9.0
revision=1
build_style=gnu-configure
configure_args="
@ -14,17 +14,17 @@ maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
homepage="https://github.com/ckolivas/cgminer"
distfiles="http://ck.kolivas.org/apps/cgminer/cgminer-${version}.tar.bz2"
checksum=d88b5e85638dcc3437544aa35b97e6ec7823ed2516f972c1cdd862681f59f0d4
checksum=f4a9af3e5e08919cfc9ca26628d63e7a3f8e986ebfa358b7316a79b1e8621790
pre_configure() {
# We have latest jansson and libusb - just use them
sed -e 's|^AC_CONFIG_SUBDIRS.*compat/jansson-2\.5.*||' \
sed -e 's|^AC_CONFIG_SUBDIRS.*compat/jansson-2\.5.*||' \
-e 's|JANSSON_LIBS="compat/jansson-2\.5/src/\.libs/libjansson\.a"|JANSSON_LIBS=-ljansson|' \
-e 's|compat/Makefile||' \
-i configure.ac
sed -e 's|^JANSSON_INCLUDES= .*||' \
-e "s|^USBUTILS_INCLUDES = .*|USBUTILS_INCLUDES = -I${XBPS_CROSS_BASE}/usr/include/libusb-1.0|" \
sed -e 's|^JANSSON_CPPFLAGS= .*||' \
-e "s|^USBUTILS_CPPFLAGS = .*|USBUTILS_CPPFLAGS = -I${XBPS_CROSS_BASE}/usr/include/libusb-1.0|" \
-e 's|^SUBDIRS.*|SUBDIRS = lib ccan|' \
-i Makefile.am