From bb35a49315294200080f7467f51a9065d010ff16 Mon Sep 17 00:00:00 2001 From: milisbir Date: Sun, 1 Jul 2018 17:34:25 +0200 Subject: [PATCH] node --- talimatname/genel/l/libnghttp2/talimat | 25 +++++++++++++++++++ talimatname/genel/n/node/talimat | 34 ++++++++++++++++++++------ 2 files changed, 52 insertions(+), 7 deletions(-) create mode 100644 talimatname/genel/l/libnghttp2/talimat diff --git a/talimatname/genel/l/libnghttp2/talimat b/talimatname/genel/l/libnghttp2/talimat new file mode 100644 index 000000000..fedb2799d --- /dev/null +++ b/talimatname/genel/l/libnghttp2/talimat @@ -0,0 +1,25 @@ +# Tanım: Framing layer of HTTP/2 is implemented as a reusable C library +# URL: https://nghttp2.org/ +# Paketçi: milisarge +# Gerekler: +# Grup: kütüphane + +isim=libnghttp2 +surum=1.32.0 +devir=1 +kaynak=(https://github.com/nghttp2/nghttp2/releases/download/v1.32.0/nghttp2-1.32.0.tar.xz) + +derle() { + cd nghttp2-$surum + autoreconf -i + ./configure \ + --prefix=/usr \ + --disable-examples \ + --disable-python-bindings \ + --enable-lib-only + make + make check + cd lib + make DESTDIR="$PKG" install + install -Dm644 ../COPYING "$PKG/usr/share/licenses/libnghttp2/COPYING" +} diff --git a/talimatname/genel/n/node/talimat b/talimatname/genel/n/node/talimat index 91c1b0711..119bcf4f3 100644 --- a/talimatname/genel/n/node/talimat +++ b/talimatname/genel/n/node/talimat @@ -1,20 +1,40 @@ # Tanım: Node.js®, Chrome'un V8 JavaScript motorunda inşa edilmiş bir JavaScript çalışma zamanıdır. # URL: http://nodejs.org/ # Paketçi: milisarge -# Gerekler: python +# Gerekler: python libuv icu http-parser c-ares libnghttp2 +# Grup: geliştirme isim=node -surum=7.10.0 +surum=10.5.0 devir=1 kaynak=(http://nodejs.org/dist/v$surum/node-v$surum.tar.xz -node.npm.sh) + node.npm.sh) + derle() { + cd node-v$surum - ./configure \ - --prefix=/usr \ - --shared-openssl \ - --shared-zlib + + find -type f -exec sed \ + -e 's_^#!/usr/bin/env python$_&2_' \ + -e 's_^\(#!/usr/bin/python2\).[45]$_\1_' \ + -e 's_^#!/usr/bin/python$_&2_' \ + -e 's_^\( *exec \+\)python\( \+.*\)$_\1python2\2_'\ + -e 's_^\(.*\)python\( \+-c \+.*\)$_\1python2\2_'\ + -e "s_'python'_'python2'_" -i {} \; + find test/ -type f -exec sed 's_python _python2 _' -i {} \; + + export PYTHON=python2 + ./configure \ + --prefix=/usr \ + --with-intl=system-icu \ + --without-npm \ + --shared-openssl \ + --shared-zlib \ + --shared-libuv \ + --shared-http-parser \ + --shared-cares \ + --shared-nghttp2 make make DESTDIR=$PKG install