2 # Copyright (C) 2016 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
11 PKG_VERSION:=2016-10-11
15 PKG_SOURCE_URL:=https://github.com/ziahamza/webui-aria2.git
16 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
17 PKG_SOURCE_VERSION:=6a29c1b1d0224e1daa88906e88bc2e177ca2ad76
18 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
21 PKG_LICENSE_FILES:=LICENSE
22 PKG_MAINTAINER:=Hsing-Wang Liao <kuoruan@gmail.com>
24 include $(INCLUDE_DIR)/package.mk
26 define Package/webui-aria2
29 SUBMENU:=Download Manager
31 TITLE:=An interface to interact with aria2
32 URL:=https://github.com/ziahamza/webui-aria2
36 define Package/webui-aria2/description
37 The aim for this project is to create the worlds best and hottest interface to interact with aria2. Very simple to use.
43 define Package/webui-aria2/install
44 $(INSTALL_DIR) $(1)/www/webui-aria2
46 $(CP) $(PKG_BUILD_DIR)/fonts $(1)/www/webui-aria2
47 $(CP) $(PKG_BUILD_DIR)/flags $(1)/www/webui-aria2
48 $(CP) $(PKG_BUILD_DIR)/js $(1)/www/webui-aria2
49 $(CP) $(PKG_BUILD_DIR)/img $(1)/www/webui-aria2
50 $(CP) $(PKG_BUILD_DIR)/css $(1)/www/webui-aria2
51 $(CP) $(PKG_BUILD_DIR)/index.html $(1)/www/webui-aria2
52 $(CP) $(PKG_BUILD_DIR)/favicon.ico $(1)/www/webui-aria2
53 $(CP) $(PKG_BUILD_DIR)/configuration.js $(1)/www/webui-aria2
56 $(eval $(call BuildPackage,webui-aria2))