From 34bbd14ff48a142212b31a521af211041f86d7f5 Mon Sep 17 00:00:00 2001 From: milisbir Date: Fri, 19 Jan 2018 06:50:22 +0200 Subject: [PATCH] http-parser --- talimatname/genel/h/http-parser/talimat | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 talimatname/genel/h/http-parser/talimat diff --git a/talimatname/genel/h/http-parser/talimat b/talimatname/genel/h/http-parser/talimat new file mode 100644 index 000000000..7f7cacc17 --- /dev/null +++ b/talimatname/genel/h/http-parser/talimat @@ -0,0 +1,21 @@ +# Tanım: HTTP İstek/Yanıt için ayrıştırıcı +# URL: https://github.com/nodejs/http-parser +# Paketçi: Cihan_Alkan +# Gerekler: +# Grup: geliştirme + +isim=http-parser +surum=2.7.1 +devir=1 + +kaynak=(https://github.com/nodejs/http-parser/archive/v2.7.1.tar.gz::$isim-$surum.tar.gz) + +derle() { + cd $isim-$surum + sed -i 's|-Werror||' ./Makefile + make library + make PREFIX="$PKG/usr" install + install -Dm644 LICENSE-MIT \ + "${PKG}/usr/share/licenses/${isim}/LICENSE-MIT" + ln -sf libhttp_parser.so.$surum "${PKG}/usr/lib/libhttp_parser.so" +}