mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-09-14 20:34:11 +08:00
Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
440cac507b | ||
|
|
ec01a08d9d |
@@ -114,7 +114,7 @@ jobs:
|
|||||||
git_clone https://github.com/peter-tank/luci-app-autorepeater
|
git_clone https://github.com/peter-tank/luci-app-autorepeater
|
||||||
git_clone https://github.com/sirpdboy/luci-app-cupsd cupsd1 && mv -n cupsd1/{luci-app-cupsd,cups} ./ ; rm -rf cupsd1
|
git_clone https://github.com/sirpdboy/luci-app-cupsd cupsd1 && mv -n cupsd1/{luci-app-cupsd,cups} ./ ; rm -rf cupsd1
|
||||||
git_sparse_clone v5 https://github.com/sbwml/luci-app-mosdns \
|
git_sparse_clone v5 https://github.com/sbwml/luci-app-mosdns \
|
||||||
mosdns luci-app-mosdns v2dat
|
mosdns luci-app-mosdns geo2txt
|
||||||
) &
|
) &
|
||||||
(
|
(
|
||||||
git_clone https://github.com/esirplayground/LingTiGameAcc
|
git_clone https://github.com/esirplayground/LingTiGameAcc
|
||||||
|
|||||||
@@ -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))
|
||||||
Reference in New Issue
Block a user