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.

51 lines
1.1 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:=yaaw
  9. PKG_VERSION:=2017-04-12
  10. PKG_RELEASE:=1
  11. PKG_SOURCE_PROTO:=git
  12. PKG_SOURCE_URL:=https://github.com/binux/yaaw.git
  13. PKG_MIRROR_HASH:=02c79d4233384df7b82e18740f96803da03260785a710be587b4c1554e900326
  14. PKG_SOURCE_VERSION:=d3a8346c5b9c2c1875dc79e1db2533b584fc8def
  15. PKG_LICENSE:=LGPL-3.0
  16. PKG_MAINTAINER:=Hsing-Wang Liao <kuoruan@gmail.com>
  17. include $(INCLUDE_DIR)/package.mk
  18. define Package/yaaw
  19. SECTION:=net
  20. CATEGORY:=Network
  21. SUBMENU:=Download Manager
  22. DEPENDS:=
  23. TITLE:=Yet another aria2 web frontend
  24. URL:=https://github.com/binux/yaaw
  25. PKGARCH:=all
  26. endef
  27. define Package/yaaw/description
  28. Yet Another Aria2 Web Frontend in pure HTML/CSS/Javascirpt.
  29. endef
  30. define Build/Compile
  31. endef
  32. define Package/yaaw/install
  33. $(INSTALL_DIR) $(1)/www/yaaw
  34. $(CP) \
  35. $(PKG_BUILD_DIR)/{css,img,js} \
  36. $(1)/www/yaaw
  37. $(CP) \
  38. $(PKG_BUILD_DIR)/{index.html,offline.appcache} \
  39. $(1)/www/yaaw
  40. endef
  41. $(eval $(call BuildPackage,yaaw))