2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: Node.js®, Chrome'un V8 JavaScript motorunda inşa edilmiş bir JavaScript çalışma zamanıdır.
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# URL: http://nodejs.org/
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: python
|
2017-04-05 13:54:14 +02:00
|
|
|
|
|
2016-02-24 01:27:23 +01:00
|
|
|
|
name=node
|
2017-05-30 02:00:06 +02:00
|
|
|
|
version=7.10.0
|
2016-02-24 01:27:23 +01:00
|
|
|
|
release=1
|
|
|
|
|
|
2017-05-30 02:00:06 +02:00
|
|
|
|
source=(http://nodejs.org/dist/v$version/node-v$version.tar.xz
|
2016-02-24 01:27:23 +01:00
|
|
|
|
node.npm.sh)
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2017-05-30 02:00:06 +02:00
|
|
|
|
cd node-v$version
|
|
|
|
|
./configure \
|
|
|
|
|
--prefix=/usr \
|
|
|
|
|
--shared-openssl \
|
|
|
|
|
--shared-zlib
|
|
|
|
|
|
|
|
|
|
make
|
|
|
|
|
make DESTDIR=$PKG install
|
2016-02-24 01:27:23 +01:00
|
|
|
|
ln -s ../lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js $PKG/usr/bin/node-gyp
|
2017-05-30 02:00:06 +02:00
|
|
|
|
install -D -m 644 $SRC/node.npm.sh $PKG/usr/share/bash-completion/completions/npm
|
2016-02-24 01:27:23 +01:00
|
|
|
|
}
|