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.

48 lines
1.2 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=ariang
  3. PKG_RELEASE:=1
  4. PKG_SOURCE_PROTO:=git
  5. PKG_SOURCE_URL:=https://github.com/mayswind/AriaNg-DailyBuild
  6. PKG_SOURCE_DATE:=2018-02-21
  7. PKG_SOURCE_VERSION:=f71a67cbb034aebcd076db3fadc1b9d8cdc470c7
  8. PKG_MIRROR_HASH:=13b07acbe29a68929295a82deb5a0122d8a56e328f783b6bc1efe9c72b99a702
  9. PKG_LICENSE:=MIT
  10. PKG_LICENSE_FILES:=LICENSE
  11. PKG_MAINTAINER:=Ansuel Smith <ansuelsmth@gmail.com>
  12. include $(INCLUDE_DIR)/package.mk
  13. define Package/ariang
  14. SECTION:=net
  15. CATEGORY:=Network
  16. SUBMENU:=Download Manager
  17. DEPENDS:=+uhttpd +aria2
  18. TITLE:=AriaNg is a web frontend making aria2 easier to use.
  19. URL:=https://github.com/mayswind/AriaNg
  20. PKGARCH:=all
  21. endef
  22. define Package/ariang/description
  23. AriaNg is a web frontend making aria2 easier to use. AriaNg is written in pure html & javascript, thus it does not need any compilers or runtime environment.
  24. endef
  25. define Build/Compile
  26. endef
  27. define Package/ariang/install
  28. $(INSTALL_DIR) \
  29. $(1)/www/ariang
  30. $(CP) \
  31. $(PKG_BUILD_DIR)/{langs,css,js,fonts} \
  32. $(PKG_BUILD_DIR)/index.html \
  33. $(PKG_BUILD_DIR)/index.manifest \
  34. $(PKG_BUILD_DIR)/LICENSE \
  35. $(PKG_BUILD_DIR)/favicon.ico \
  36. $(1)/www/ariang
  37. endef
  38. $(eval $(call BuildPackage,ariang))