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.

57 lines
1.4 KiB

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