mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
uugamebooster: cleanup makefile
This commit is contained in:
parent
a5d2dcab5a
commit
b17a9e83ad
@ -17,16 +17,16 @@ PKG_RELEASE:=1
|
|||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
define Package/$(PKG_NAME)
|
define Package/uugamebooster
|
||||||
SECTION:=net
|
SECTION:=net
|
||||||
CATEGORY:=Network
|
CATEGORY:=Network
|
||||||
DEPENDS:=@(aarch64||arm||mipsel||x86_64) +kmod-tun
|
DEPENDS:=@(aarch64||arm||mipsel||x86_64) +kmod-tun
|
||||||
TITLE:=NetEase UU Game Booster
|
TITLE:=NetEase UU Game Booster
|
||||||
URL:=https://uu.163.com
|
URL:=https://uu.163.com
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/$(PKG_NAME)/description
|
define Package/uugamebooster/description
|
||||||
NetEase's UU Game Booster Accelerates Triple-A Gameplay and Market
|
NetEase's UU Game Booster Accelerates Triple-A Gameplay and Market
|
||||||
endef
|
endef
|
||||||
|
|
||||||
ifeq ($(ARCH),arm)
|
ifeq ($(ARCH),arm)
|
||||||
@ -64,22 +64,22 @@ endef
|
|||||||
define Build/Compile
|
define Build/Compile
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/$(PKG_NAME)/conffiles
|
define Package/uugamebooster/conffiles
|
||||||
/root/.uuplugin_uuid
|
/root/.uuplugin_uuid
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/$(PKG_NAME)/install
|
define Package/uugamebooster/install
|
||||||
# $(INSTALL_DIR) $(1)/etc/init.d
|
# $(INSTALL_DIR) $(1)/etc/init.d
|
||||||
# $(INSTALL_BIN) ./files/uugamebooster.init $(1)/etc/init.d/uuplugin
|
# $(INSTALL_BIN) ./files/uugamebooster.init $(1)/etc/init.d/uuplugin
|
||||||
|
|
||||||
$(INSTALL_DIR) $(1)/usr/share/$(PKG_NAME)
|
$(INSTALL_DIR) $(1)/usr/share/uugamebooster
|
||||||
$(INSTALL_BIN) $(UNTAR_DIR)/uuplugin $(1)/usr/share/$(PKG_NAME)/uuplugin
|
$(INSTALL_BIN) $(UNTAR_DIR)/uuplugin $(1)/usr/share/uugamebooster/uuplugin
|
||||||
$(INSTALL_CONF) $(UNTAR_DIR)/uu.conf $(1)/usr/share/$(PKG_NAME)/uu.conf
|
$(INSTALL_CONF) $(UNTAR_DIR)/uu.conf $(1)/usr/share/uugamebooster/uu.conf
|
||||||
|
|
||||||
# not finish yet:
|
# not finish yet:
|
||||||
# $(INSTALL_DIR) $(1)/usr/bin
|
# $(INSTALL_DIR) $(1)/usr/bin
|
||||||
# $(INSTALL_BIN) ./files/uugamebooster-update $(1)/usr/bin/$(PKG_NAME)
|
# $(INSTALL_BIN) ./files/uugamebooster-update $(1)/usr/bin/uugamebooster
|
||||||
# $(LN) $(1)/usr/bin/$(PKG_NAME)/uugamebooster-update $(1)/usr/bin/uugamebooster-update
|
# $(LN) $(1)/usr/bin/uugamebooster/uugamebooster-update $(1)/usr/bin/uugamebooster-update
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,$(PKG_NAME)))
|
$(eval $(call BuildPackage,uugamebooster))
|
||||||
|
Loading…
Reference in New Issue
Block a user