Browse Source

Merge pull request #6206 from Ansuel/ariang

ariang: dep rework
lilik-openwrt-22.03
Hannu Nyman 7 years ago
committed by GitHub
parent
commit
510ea619a4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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
define Package/ariang
define Package/ariang/default
SECTION:=net
CATEGORY:=Network
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
PKGARCH:=all
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.
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
endef
@ -45,4 +59,7 @@ define Package/ariang/install
$(1)/www/ariang
endef
Package/ariang-nginx/install = $(Package/ariang/install)
$(eval $(call BuildPackage,ariang))
$(eval $(call BuildPackage,ariang-nginx))

Loading…
Cancel
Save