# # Copyright (C) 2012 Xiangfu Liu # bitcoin: 1BQvUsuQBYUyVuX4jjFk4dVBpWJVQEUHTZ # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # include $(TOPDIR)/rules.mk PKG_NAME:=cgminer PKG_VERSION:=20120219 PKG_REV:=3cdac04f4f4c638f4a721042208073e371726cf4 PKG_RELEASE:=1 PKG_INSTALL:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_REV).tar.gz PKG_SOURCE_URL:=git://github.com/ckolivas/cgminer.git PKG_SOURCE_PROTO:=git PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE_VERSION:=$(PKG_REV) PKG_FIXUP:=autoreconf include $(INCLUDE_DIR)/package.mk define Package/cgminer MAINTAINER:="Xiangfu Liu" \ <1BQvUsuQBYUyVuX4jjFk4dVBpWJVQEUHTZ> SECTION:=utils CATEGORY:=Utilities TITLE:=cgminer URL:=https://github.com/ckolivas/cgminer DEPENDS:=+libcurl +libpthread +libncurses +jansson endef define Package/cgminer/description endef CONFIGURE_ARGS += --disable-opencl --disable-adl --enable-icarus --enable-bitforce TARGET_CFLAGS += TARGET_LDFLAGS += -Wl,-rpath-link=$(STAGING_DIR)/usr/lib define Package/cgminer/install $(INSTALL_DIR) $(1)/usr/bin/ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/cgminer $(1)/usr/bin/ endef $(eval $(call BuildPackage,cgminer))