milis/talimatname/genel/libnatpmp/talimat

20 lines
533 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Description: NAT-PMP protokolunun uygulanması
# URL: http://miniupnp.free.fr/libnatpmp.html
# Packager: milisarge
# Depends on:
name=libnatpmp
version=20150609
release=1
source=(http://miniupnp.tuxfamily.org/files/libnatpmp-20150609.tar.gz
)
build() {
cd $name-$version
sed -e 's/CFLAGS = /CFLAGS += /' -i Makefile
make
make INSTALLPREFIX="$PKG/usr" INSTALLDIRINC="$PKG/usr/include" install
install -Dm644 LICENSE "$PKG/usr/share/licenses/$name/LICENSE"
install -Dm644 natpmpc.1 "$PKG/usr/share/man/man1/natpmpc.1"
}