-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
30 lines (21 loc) · 802 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# NATMap by heiher <https://github.com/heiher/natmap>
# Copyright (C) 2023 muink <https://github.com/muink>
#
# This is free software, licensed under the Apache License, Version 2.0
include $(TOPDIR)/rules.mk
LUCI_NAME:=luci-app-natmapt
PKG_VERSION:=20240630
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 <[email protected]>, Richard Yu <[email protected]>
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