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.

52 lines
1.3 KiB

  1. #
  2. # Copyright (C) 2016-2020 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:=2018-12-09
  10. PKG_SOURCE_VERSION:=fb9d758d5cdc2be0867ee9502c44fd17560f5d24
  11. PKG_RELEASE:=1
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_DATE).tar.gz
  13. PKG_SOURCE_URL:=https://codeload.github.com/ziahamza/webui-aria2/tar.gz/$(PKG_SOURCE_VERSION)?
  14. PKG_HASH:=4cddcbd64a7b20baf0c2c31cb3c07d0fa01576a12c4e6feefd0840acd3f65919
  15. PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_SOURCE_VERSION)
  16. PKG_LICENSE:=MIT
  17. PKG_LICENSE_FILES:=LICENSE
  18. PKG_MAINTAINER:=Hsing-Wang Liao <kuoruan@gmail.com>
  19. include $(INCLUDE_DIR)/package.mk
  20. define Package/webui-aria2
  21. SECTION:=net
  22. CATEGORY:=Network
  23. SUBMENU:=Download Manager
  24. DEPENDS:=
  25. TITLE:=An interface to interact with aria2
  26. URL:=https://github.com/ziahamza/webui-aria2
  27. PKGARCH:=all
  28. endef
  29. define Package/webui-aria2/description
  30. The aim for this project is to create the worlds best and hottest interface to interact with aria2. Very simple to use.
  31. endef
  32. define Build/Compile
  33. endef
  34. define Package/webui-aria2/install
  35. $(INSTALL_DIR) $(1)/www/webui-aria2
  36. $(CP) \
  37. $(PKG_BUILD_DIR)/docs/* \
  38. $(PKG_BUILD_DIR)/{LICENSE,favicon.ico} \
  39. $(1)/www/webui-aria2
  40. endef
  41. $(eval $(call BuildPackage,webui-aria2))