milis/talimatname/genel/l/libnatpmp/talimat

20 lines
520 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: NAT-PMP protokolunun uygulanması
2017-07-25 01:54:44 +02:00
# URL: http://miniupnp.free.fr/libnatpmp.html
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler:
2017-07-25 01:54:44 +02:00
2017-10-28 14:10:23 +02:00
isim=libnatpmp
surum=20150609
devir=1
kaynak=(http://miniupnp.tuxfamily.org/files/libnatpmp-20150609.tar.gz
2017-07-25 01:54:44 +02:00
)
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd $isim-$surum
2017-07-25 01:54:44 +02:00
sed -e 's/CFLAGS = /CFLAGS += /' -i Makefile
make
make INSTALLPREFIX="$PKG/usr" INSTALLDIRINC="$PKG/usr/include" install
2017-10-28 14:10:23 +02:00
install -Dm644 LICENSE "$PKG/usr/share/licenses/$isim/LICENSE"
2017-07-25 01:54:44 +02:00
install -Dm644 natpmpc.1 "$PKG/usr/share/man/man1/natpmpc.1"
}