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:
|
2018-08-03 14:49:38 +02:00
|
|
|
|
# Grup: ağ
|
2018-06-09 00:06:58 +02:00
|
|
|
|
|
|
|
|
|
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"
|
|
|
|
|
}
|