42 lines
932 B
Makefile
42 lines
932 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=chinadns-ng
|
|
PKG_VERSION:=1.0-beta.25
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_URL:=https://github.com/zfl9/chinadns-ng.git
|
|
PKG_MIRROR_HASH:=skip
|
|
PKG_SOURCE_VERSION:=14cc6348d67b09cae37d9bce554c89c2c0e0b265
|
|
|
|
PKG_BUILD_PARALLEL:=1
|
|
PKG_USE_MIPS16:=0
|
|
|
|
PKG_LICENSE:=AGPL-3.0-only
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
PKG_MAINTAINER:=pexcn <i@pexcn.me>
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/chinadns-ng
|
|
SECTION:=net
|
|
CATEGORY:=Network
|
|
TITLE:=ChinaDNS next generation, refactoring with epoll and ipset
|
|
URL:=https://github.com/zfl9/chinadns-ng
|
|
DEPENDS:=+ipset
|
|
endef
|
|
|
|
define Package/chinadns-ng/description
|
|
ChinaDNS next generation, refactoring with epoll and ipset.
|
|
endef
|
|
|
|
define Package/chinadns-ng/conffiles
|
|
endef
|
|
|
|
define Package/chinadns-ng/install
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/chinadns-ng $(1)/usr/bin
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,chinadns-ng))
|