1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-22 18:34:41 +02:00

cgminer: add include miner.php for web access cgminer

This commit is contained in:
Xiangfu 2012-03-14 17:04:43 +08:00
parent 9c746f06c8
commit b9fad493f5

View File

@ -9,7 +9,7 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=cgminer PKG_NAME:=cgminer
PKG_VERSION:=20120305 PKG_VERSION:=20120314
PKG_REV:=97ab111ec924e8812eaeff2f4f71940811a3cf1b PKG_REV:=97ab111ec924e8812eaeff2f4f71940811a3cf1b
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_INSTALL:=1 PKG_INSTALL:=1
@ -49,6 +49,8 @@ TARGET_LDFLAGS += -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
define Package/cgminer/install define Package/cgminer/install
$(INSTALL_DIR) $(1)/usr/bin/ $(INSTALL_DIR) $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/cgminer $(1)/usr/bin/ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/cgminer $(1)/usr/bin/
$(INSTALL_DIR) $(1)/usr/share/cgminer
$(CP) $(PKG_BUILD_DIR)/miner.php $(1)/usr/share/cgminer/
endef endef
$(eval $(call BuildPackage,cgminer)) $(eval $(call BuildPackage,cgminer))