This commit is contained in:
milisbir 2018-07-01 17:34:25 +02:00
parent 0e681ce01d
commit bb35a49315
2 changed files with 52 additions and 7 deletions

View File

@ -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"
}

View File

@ -1,20 +1,40 @@
# Tanım: Node.js®, Chrome'un V8 JavaScript motorunda inşa edilmiş bir JavaScript çalışma zamanıdır. # Tanım: Node.js®, Chrome'un V8 JavaScript motorunda inşa edilmiş bir JavaScript çalışma zamanıdır.
# URL: http://nodejs.org/ # URL: http://nodejs.org/
# Paketçi: milisarge # Paketçi: milisarge
# Gerekler: python # Gerekler: python libuv icu http-parser c-ares libnghttp2
# Grup: geliştirme
isim=node isim=node
surum=7.10.0 surum=10.5.0
devir=1 devir=1
kaynak=(http://nodejs.org/dist/v$surum/node-v$surum.tar.xz kaynak=(http://nodejs.org/dist/v$surum/node-v$surum.tar.xz
node.npm.sh) node.npm.sh)
derle() { derle() {
cd node-v$surum cd node-v$surum
./configure \
--prefix=/usr \ find -type f -exec sed \
--shared-openssl \ -e 's_^#!/usr/bin/env python$_&2_' \
--shared-zlib -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
make DESTDIR=$PKG install make DESTDIR=$PKG install