OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
Source at commit 01bb56af3e9f51ebf3c644ed9c568d267eec8fa1 created 12 years 1 month ago. By Xiangfu Liu, cgminer: support icarus by upstream, fix the multi-icarus support | |
---|---|
1 | # |
2 | # Copyright (C) 2012 Xiangfu Liu <xiangfu@sharism.cc> |
3 | # bitcoin: 1BQvUsuQBYUyVuX4jjFk4dVBpWJVQEUHTZ |
4 | # |
5 | # This is free software, licensed under the GNU General Public License v2. |
6 | # See /LICENSE for more information. |
7 | # |
8 | |
9 | include $(TOPDIR)/rules.mk |
10 | |
11 | PKG_NAME:=cgminer |
12 | PKG_VERSION:=20120226 |
13 | PKG_REV:=daf1eff13c5583770ed4a8e7a399924b1e208845 |
14 | PKG_RELEASE:=1 |
15 | PKG_INSTALL:=1 |
16 | |
17 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_REV).tar.gz |
18 | PKG_SOURCE_URL:=git://github.com/ckolivas/cgminer.git |
19 | PKG_SOURCE_PROTO:=git |
20 | PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) |
21 | PKG_SOURCE_VERSION:=$(PKG_REV) |
22 | |
23 | PKG_FIXUP:=autoreconf |
24 | |
25 | include $(INCLUDE_DIR)/package.mk |
26 | |
27 | define Package/cgminer |
28 | MAINTAINER:="Xiangfu Liu" \ |
29 | <xiangfu@sharism.cc> <1BQvUsuQBYUyVuX4jjFk4dVBpWJVQEUHTZ> |
30 | SECTION:=utils |
31 | CATEGORY:=Utilities |
32 | TITLE:=cgminer |
33 | URL:=https://github.com/ckolivas/cgminer |
34 | DEPENDS:=+libcurl +libpthread +libncurses +jansson |
35 | endef |
36 | |
37 | define Package/cgminer/description |
38 | endef |
39 | |
40 | CONFIGURE_ARGS += --disable-opencl --disable-adl --enable-icarus --enable-bitforce |
41 | TARGET_CFLAGS += |
42 | TARGET_LDFLAGS += -Wl,-rpath-link=$(STAGING_DIR)/usr/lib |
43 | |
44 | define Package/cgminer/install |
45 | $(INSTALL_DIR) $(1)/usr/bin/ |
46 | $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/cgminer $(1)/usr/bin/ |
47 | endef |
48 | |
49 | $(eval $(call BuildPackage,cgminer)) |
50 |