new package: natpmpc
Requested in https://github.com/termux/termux-packages/issues/4842.
This commit is contained in:
parent
bb8d3acd48
commit
1d855faeb9
12
packages/natpmpc/Makefile.patch
Normal file
12
packages/natpmpc/Makefile.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -uNr libnatpmp-20150609/Makefile libnatpmp-20150609.mod/Makefile
|
||||
--- libnatpmp-20150609/Makefile 2013-12-09 22:52:28.000000000 +0200
|
||||
+++ libnatpmp-20150609.mod/Makefile 2020-01-26 18:59:59.510655815 +0200
|
||||
@@ -5,7 +5,7 @@
|
||||
# http://miniupnp.free.fr/libnatpmp.html
|
||||
|
||||
OS = $(shell uname -s)
|
||||
-CC = gcc
|
||||
+CC ?= gcc
|
||||
INSTALL = install -p
|
||||
ARCH = $(shell uname -m | sed -e s/i.86/i686/)
|
||||
VERSION = $(shell cat VERSION)
|
7
packages/natpmpc/build.sh
Normal file
7
packages/natpmpc/build.sh
Normal file
@ -0,0 +1,7 @@
|
||||
TERMUX_PKG_HOMEPAGE=http://miniupnp.free.fr/libnatpmp.html
|
||||
TERMUX_PKG_DESCRIPTION="Portable and fully compliant implementation of NAT-PMP"
|
||||
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
||||
TERMUX_PKG_VERSION=20150609
|
||||
TERMUX_PKG_SRCURL=http://miniupnp.free.fr/files/libnatpmp-$TERMUX_PKG_VERSION.tar.gz
|
||||
TERMUX_PKG_SHA256=e1aa9c4c4219bc06943d6b2130f664daee213fb262fcb94dd355815b8f4536b0
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
Loading…
Reference in New Issue
Block a user