Browse Source

ariang: add ariang-nginx metapackage

Permit to install a version of ariang with nginx as webserver.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
lilik-openwrt-22.03
Ansuel Smith 7 years ago
parent
commit
286ad4be5a
No known key found for this signature in database GPG Key ID: AC001D09ADBFEAD7
1 changed files with 20 additions and 3 deletions
  1. +20
    -3
      net/ariang/Makefile

+ 20
- 3
net/ariang/Makefile View File

@ -15,12 +15,12 @@ PKG_MAINTAINER:=Ansuel Smith <ansuelsmth@gmail.com>
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/ariang
define Package/ariang/default
SECTION:=net SECTION:=net
CATEGORY:=Network CATEGORY:=Network
SUBMENU:=Download Manager SUBMENU:=Download Manager
DEPENDS:=+uhttpd +aria2
TITLE:=AriaNg is a web frontend making aria2 easier to use.
DEPENDS:=+aria2
TITLE:=AriaNg webui
URL:=https://github.com/mayswind/AriaNg URL:=https://github.com/mayswind/AriaNg
PKGARCH:=all PKGARCH:=all
endef endef
@ -29,6 +29,20 @@ define Package/ariang/description
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. 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.
endef endef
Package/ariang-nginx/description = $(Package/ariang/description)
define Package/ariang
$(Package/ariang/default)
DEPENDS += +uhttpd
TITLE += for uhttpd webserver
endef
define Package/ariang-nginx
$(Package/ariang/default)
DEPENDS += +nginx
TITLE += for nginx webserver
endef
define Build/Compile define Build/Compile
endef endef
@ -45,4 +59,7 @@ define Package/ariang/install
$(1)/www/ariang $(1)/www/ariang
endef endef
Package/ariang-nginx/install = $(Package/ariang/install)
$(eval $(call BuildPackage,ariang)) $(eval $(call BuildPackage,ariang))
$(eval $(call BuildPackage,ariang-nginx))

Loading…
Cancel
Save