cgminer: remove package
Upstream is archived and hasn't had a commit or release since 2018
This commit is contained in:
parent
1ed2977f4e
commit
6f77f87d45
3 changed files with 1 additions and 43 deletions
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
exec cgminer -T --config /etc/cgminer.conf --syslog
|
|
@ -1,41 +0,0 @@
|
|||
# Template file for 'cgminer'
|
||||
pkgname=cgminer
|
||||
version=4.11.1
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="
|
||||
--enable-avalon --enable-avalon2 --enable-bflsc --enable-bitfury \
|
||||
--enable-cointerra --enable-drillbit --enable-hashfast --enable-hashratio \
|
||||
--enable-icarus --enable-klondike --with-system-libusb"
|
||||
hostmakedepends="pkg-config automake libtool yasm"
|
||||
makedepends="libcurl-devel libusb-devel jansson-devel eudev-libudev-devel ncurses-devel"
|
||||
conf_files="/etc/cgminer.conf"
|
||||
short_desc="Multi-threaded multi-pool CPU and GPU miner for bitcoin"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://github.com/ckolivas/cgminer"
|
||||
distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
|
||||
checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
|
||||
|
||||
CFLAGS="-fcommon"
|
||||
|
||||
pre_configure() {
|
||||
# We have latest jansson and libusb - just use them
|
||||
sed -e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \
|
||||
-e 's|JANSSON_LIBS=\".*\"|JANSSON_LIBS=-ljansson|' \
|
||||
-e 's|compat/Makefile||' \
|
||||
-i configure.ac
|
||||
|
||||
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
|
||||
|
||||
rm -r compat
|
||||
autoreconf -fi
|
||||
}
|
||||
post_install() {
|
||||
vsv cgminer
|
||||
vconf example.conf cgminer.conf
|
||||
sed -i 's#/usr/local/bin#/usr/bin#g' ${DESTDIR}/etc/cgminer.conf
|
||||
}
|
|
@ -35,6 +35,7 @@ replaces="
|
|||
california<=0.4.0_4
|
||||
capstone-python<=4.0.2_3
|
||||
captain-ballard<=1.0.0_2
|
||||
cgminer<=4.11.1_1
|
||||
clamz<=0.5_4
|
||||
couchdb<=1.7.1_2
|
||||
cracklib-python<=2.9.7_1
|
||||
|
|
Loading…
Reference in a new issue