mirror of
https://github.com/sirpdboy/sirpdboy-package.git
synced 2025-01-09 04:17:45 +08:00
50 lines
1.2 KiB
Makefile
50 lines
1.2 KiB
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=ariang
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_URL:=https://github.com/mayswind/AriaNg-DailyBuild.git
|
|
PKG_VERSION:=1.1.7
|
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
|
PKG_SOURCE_VERSION:=65a905a7974c5151aea34b36fc7cb9d2e6d8a330
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
|
|
PKG_LICENSE:=MIT
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
PKG_MAINTAINER:=Ansuel Smith <ansuelsmth@gmail.com>
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/ariang
|
|
SECTION:=net
|
|
CATEGORY:=Network
|
|
SUBMENU:=Download Manager
|
|
DEPENDS:=+uhttpd +aria2
|
|
TITLE:=AriaNg is a web frontend making aria2 easier to use.
|
|
URL:=https://github.com/mayswind/ariaNg
|
|
PKGARCH:=all
|
|
endef
|
|
|
|
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
|
|
|
|
define Build/Compile
|
|
endef
|
|
|
|
define Package/ariang/install
|
|
$(INSTALL_DIR) \
|
|
$(1)/www/ariang
|
|
|
|
$(CP) \
|
|
$(PKG_BUILD_DIR)/{langs,css,js,fonts} \
|
|
$(PKG_BUILD_DIR)/index.html \
|
|
$(PKG_BUILD_DIR)/index.manifest \
|
|
$(PKG_BUILD_DIR)/LICENSE \
|
|
$(PKG_BUILD_DIR)/favicon.ico \
|
|
$(1)/www/ariang
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,ariang)) |