Makefile (1344B)
1 # 2 # Copyright (C) 2016 OpenWrt.org 3 # 4 # This is free software, licensed under the GNU General Public License v2. 5 # See /LICENSE for more information. 6 # 7 8 include $(TOPDIR)/rules.mk 9 10 PKG_NAME:=webui-aria2 11 PKG_SOURCE_DATE:=2017-04-02 12 PKG_RELEASE:=1 13 14 PKG_SOURCE_PROTO:=git 15 PKG_SOURCE_URL:=https://github.com/ziahamza/webui-aria2 16 PKG_SOURCE_VERSION:=d2a662849a792bb8d7b83519bac1eeee0fcec4e9 17 18 PKG_LICENSE:=MIT 19 PKG_LICENSE_FILES:=LICENSE 20 PKG_MAINTAINER:=Hsing-Wang Liao <kuoruan@gmail.com> 21 22 include $(INCLUDE_DIR)/package.mk 23 24 define Package/webui-aria2 25 SECTION:=net 26 CATEGORY:=Network 27 SUBMENU:=Download Manager 28 DEPENDS:= 29 TITLE:=An interface to interact with aria2 30 URL:=https://github.com/ziahamza/webui-aria2 31 PKGARCH:=all 32 endef 33 34 define Package/webui-aria2/description 35 The aim for this project is to create the worlds best and hottest interface to interact with aria2. Very simple to use. 36 endef 37 38 define Build/Compile 39 endef 40 41 define Package/webui-aria2/install 42 $(INSTALL_DIR) \ 43 $(1)/www/webui-aria2 \ 44 $(1)/www/webui-aria2/flags/4x3 45 46 $(CP) \ 47 $(PKG_BUILD_DIR)/{css,fonts,js} \ 48 $(PKG_BUILD_DIR)/{LICENSE,configuration.js,favicon.ico,index.html} \ 49 $(1)/www/webui-aria2 50 51 $(CP) \ 52 $(PKG_BUILD_DIR)/flags/4x3/{cn,de,es,fr,it,nl,pl,ru,th,tr,tw,us}.svg \ 53 $(1)/www/webui-aria2/flags/4x3 54 endef 55 56 $(eval $(call BuildPackage,webui-aria2))