milis/talimatname/genel/l/libnatpmp/talimat

20 lines
520 B
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# Tanım: NAT-PMP protokolunun uygulanması
# URL: http://miniupnp.free.fr/libnatpmp.html
# Paketçi: milisarge
# Gerekler:
isim=libnatpmp
surum=20150609
devir=1
kaynak=(http://miniupnp.tuxfamily.org/files/libnatpmp-20150609.tar.gz
)
derle() {
cd $isim-$surum
sed -e 's/CFLAGS = /CFLAGS += /' -i Makefile
make
make INSTALLPREFIX="$PKG/usr" INSTALLDIRINC="$PKG/usr/include" install
install -Dm644 LICENSE "$PKG/usr/share/licenses/$isim/LICENSE"
install -Dm644 natpmpc.1 "$PKG/usr/share/man/man1/natpmpc.1"
}