|
@ -8,14 +8,12 @@ |
|
|
include $(TOPDIR)/rules.mk |
|
|
include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
|
PKG_NAME:=webui-aria2 |
|
|
PKG_NAME:=webui-aria2 |
|
|
PKG_VERSION:=2016-10-11 |
|
|
|
|
|
PKG_RELEASE:=1 |
|
|
PKG_RELEASE:=1 |
|
|
|
|
|
|
|
|
PKG_SOURCE_PROTO:=git |
|
|
PKG_SOURCE_PROTO:=git |
|
|
PKG_SOURCE_URL:=https://github.com/ziahamza/webui-aria2.git |
|
|
PKG_SOURCE_URL:=https://github.com/ziahamza/webui-aria2.git |
|
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) |
|
|
|
|
|
PKG_SOURCE_VERSION:=6a29c1b1d0224e1daa88906e88bc2e177ca2ad76 |
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz |
|
|
|
|
|
|
|
|
PKG_SOURCE_DATE:=2017-02-12 |
|
|
|
|
|
PKG_SOURCE_VERSION:=68c8ad4f86b87a8b713e13f70b4a3a3c7b86c83e |
|
|
|
|
|
|
|
|
PKG_LICENSE:=MIT |
|
|
PKG_LICENSE:=MIT |
|
|
PKG_LICENSE_FILES:=LICENSE |
|
|
PKG_LICENSE_FILES:=LICENSE |
|
@ -41,16 +39,18 @@ define Build/Compile |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
define Package/webui-aria2/install |
|
|
define Package/webui-aria2/install |
|
|
$(INSTALL_DIR) $(1)/www/webui-aria2 |
|
|
|
|
|
|
|
|
|
|
|
$(CP) $(PKG_BUILD_DIR)/fonts $(1)/www/webui-aria2 |
|
|
|
|
|
$(CP) $(PKG_BUILD_DIR)/flags $(1)/www/webui-aria2 |
|
|
|
|
|
$(CP) $(PKG_BUILD_DIR)/js $(1)/www/webui-aria2 |
|
|
|
|
|
$(CP) $(PKG_BUILD_DIR)/img $(1)/www/webui-aria2 |
|
|
|
|
|
$(CP) $(PKG_BUILD_DIR)/css $(1)/www/webui-aria2 |
|
|
|
|
|
$(CP) $(PKG_BUILD_DIR)/index.html $(1)/www/webui-aria2 |
|
|
|
|
|
$(CP) $(PKG_BUILD_DIR)/favicon.ico $(1)/www/webui-aria2 |
|
|
|
|
|
$(CP) $(PKG_BUILD_DIR)/configuration.js $(1)/www/webui-aria2 |
|
|
|
|
|
|
|
|
$(INSTALL_DIR) \
|
|
|
|
|
|
$(1)/www/webui-aria2 \
|
|
|
|
|
|
$(1)/www/webui-aria2/flags/4x3 |
|
|
|
|
|
|
|
|
|
|
|
$(CP) \
|
|
|
|
|
|
$(PKG_BUILD_DIR)/{css,fonts,js} \
|
|
|
|
|
|
$(PKG_BUILD_DIR)/{LICENSE,configuration.js,favicon.ico,index.html} \
|
|
|
|
|
|
$(1)/www/webui-aria2 |
|
|
|
|
|
|
|
|
|
|
|
$(CP) \
|
|
|
|
|
|
$(PKG_BUILD_DIR)/flags/4x3/{cn,de,es,fr,it,nl,pl,ru,th,tr,tw,us}.svg \
|
|
|
|
|
|
$(1)/www/webui-aria2/flags/4x3 |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,webui-aria2)) |
|
|
$(eval $(call BuildPackage,webui-aria2)) |