mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-07-27 10:31:38 +08:00
29 lines
697 B
Makefile
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
|