milis/talimatname/genel/n/node/talimat

24 lines
586 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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
isim=node
surum=7.10.0
devir=1
kaynak=(http://nodejs.org/dist/v$surum/node-v$surum.tar.xz
node.npm.sh)
derle() {
cd node-v$surum
./configure \
--prefix=/usr \
--shared-openssl \
--shared-zlib
make
make DESTDIR=$PKG install
ln -s ../lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js $PKG/usr/bin/node-gyp
install -D -m 644 $SRC/node.npm.sh $PKG/usr/share/bash-completion/completions/npm
}