node.guncelleni
This commit is contained in:
parent
27d04b2c82
commit
f9474fad0d
|
@ -4,23 +4,20 @@
|
||||||
# Depends on: python
|
# Depends on: python
|
||||||
|
|
||||||
name=node
|
name=node
|
||||||
version=4.0.0
|
version=7.10.0
|
||||||
release=1
|
release=1
|
||||||
|
|
||||||
source=(http://nodejs.org/dist/v$version/node-v$version.tar.gz
|
source=(http://nodejs.org/dist/v$version/node-v$version.tar.xz
|
||||||
node.npm.sh)
|
node.npm.sh)
|
||||||
build() {
|
build() {
|
||||||
cd $name-v$version
|
cd node-v$version
|
||||||
./configure --prefix=/usr \
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
--shared-openssl \
|
--shared-openssl \
|
||||||
--shared-zlib
|
--shared-zlib
|
||||||
|
|
||||||
make
|
make
|
||||||
make DESTDIR=$PKG install
|
make DESTDIR=$PKG install
|
||||||
|
|
||||||
# add missing symlink
|
|
||||||
ln -s ../lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js $PKG/usr/bin/node-gyp
|
ln -s ../lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js $PKG/usr/bin/node-gyp
|
||||||
# Add bash completion file for npm.
|
install -D -m 644 $SRC/node.npm.sh $PKG/usr/share/bash-completion/completions/npm
|
||||||
install -D -m 644 $SRC/node.npm.sh \
|
|
||||||
$PKG/usr/share/bash-completion/completions/npm
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue