You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.3 KiB

  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. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=webui-aria2
  9. PKG_RELEASE:=1
  10. PKG_SOURCE_PROTO:=git
  11. PKG_SOURCE_URL:=https://github.com/ziahamza/webui-aria2.git
  12. PKG_SOURCE_DATE:=2017-02-12
  13. PKG_SOURCE_VERSION:=68c8ad4f86b87a8b713e13f70b4a3a3c7b86c83e
  14. PKG_LICENSE:=MIT
  15. PKG_LICENSE_FILES:=LICENSE
  16. PKG_MAINTAINER:=Hsing-Wang Liao <kuoruan@gmail.com>
  17. include $(INCLUDE_DIR)/package.mk
  18. define Package/webui-aria2
  19. SECTION:=net
  20. CATEGORY:=Network
  21. SUBMENU:=Download Manager
  22. DEPENDS:=
  23. TITLE:=An interface to interact with aria2
  24. URL:=https://github.com/ziahamza/webui-aria2
  25. PKGARCH:=all
  26. endef
  27. define Package/webui-aria2/description
  28. The aim for this project is to create the worlds best and hottest interface to interact with aria2. Very simple to use.
  29. endef
  30. define Build/Compile
  31. endef
  32. define Package/webui-aria2/install
  33. $(INSTALL_DIR) \
  34. $(1)/www/webui-aria2 \
  35. $(1)/www/webui-aria2/flags/4x3
  36. $(CP) \
  37. $(PKG_BUILD_DIR)/{css,fonts,js} \
  38. $(PKG_BUILD_DIR)/{LICENSE,configuration.js,favicon.ico,index.html} \
  39. $(1)/www/webui-aria2
  40. $(CP) \
  41. $(PKG_BUILD_DIR)/flags/4x3/{cn,de,es,fr,it,nl,pl,ru,th,tr,tw,us}.svg \
  42. $(1)/www/webui-aria2/flags/4x3
  43. endef
  44. $(eval $(call BuildPackage,webui-aria2))