op-packages/luci-app-natmapt/Makefile
github-actions[bot] 32600acc60 🌴 Sync 2026-03-05 23:51:42
2026-03-05 23:51:42 +08:00

29 lines
697 B
Makefile

# SPDX-License-Identifier: Apache-2.0
#
# Copyright (C) 2023-2026 muink <https://github.com/muink>
include $(TOPDIR)/rules.mk
LUCI_NAME:=luci-app-natmapt
LUCI_TITLE:=LuCI Support for natmap
LUCI_PKGARCH:=all
LUCI_DEPENDS:=+natmapt +coreutils-timeout
LUCI_DESCRIPTION:=TCP/UDP port mapping for full cone NAT
PKG_LICENSE:=Apache-2.0
PKG_MAINTAINER:=Anya Lin <hukk1996@gmail.com>, Richard Yu <yurichard3839@gmail.com>
PKG_UNPACK=$(CURDIR)/.prepare.sh $(PKG_NAME) $(CURDIR) $(PKG_BUILD_DIR)
define Package/$(LUCI_NAME)/prerm
#!/bin/sh
rm -f "$$IPKG_INSTROOT/usr/libexec/natmap/natmap-natest"
exit 0
endef
include $(TOPDIR)/feeds/luci/luci.mk
# call BuildPackage - OpenWrt buildroot signature