update 2026-09-05 11:12:16
marry-jell / merge (push) Canceled after 0s

This commit is contained in:
action
2026-09-05 11:12:16 +08:00
parent ec01a08d9d
commit 440cac507b
+39
View File
@@ -0,0 +1,39 @@
#
# Copyright (C) 2015-2016 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v3.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=geo2txt
PKG_VERSION:=1.0.0
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/sbwml/geo2txt/tar.gz/$(PKG_VERSION)?
PKG_HASH:=b777d9c67b36cd8ce68a0555200fae85751435c888364c921a361062ffee4409
PKG_LICENSE:=GPL-3.0
PKG_LICENSE_FILE:=LICENSE
PKG_MAINTAINER:=sbwml <admin@cooluc.com>
include $(INCLUDE_DIR)/package.mk
define Package/geo2txt
SECTION:=utils
CATEGORY:=Utilities
TITLE:=V2ray geosite & geoip unpacking CLI tool
URL:=https://github.com/sbwml/geo2txt
endef
define Package/quickfile/description
A lightweight pure C utility to unpack v2ray geosite.dat and geoip.dat.
endef
define Package/geo2txt/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/geo2txt $(1)/usr/bin/geo2txt
endef
$(eval $(call BuildPackage,geo2txt))