wok-next view node/receipt @ rev 20079

Up emacs (2.53)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 25 11:21:45 2017 +0200 (2017-10-25)
parents ba780b0b772e
children e6615350078d
line source
1 # SliTaz package receipt.
3 PACKAGE="node"
4 VERSION="0.10.41"
5 CATEGORY="network"
6 SHORT_DESC="Node.js is a platform for easily building network applications."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-v$VERSION.tar.gz"
10 WEB_SITE="http://nodejs.org/"
11 WGET_URL="http://nodejs.org/dist/v$VERSION/$TARBALL"
12 #HOST_ARCH="i486 arm"
14 DEPENDS="python libssl"
15 BUILD_DEPENDS="python-dev openssl-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 #patch -p0 < ${stuff}/SConstruct.patch || return 1
21 ./configure --prefix=/usr &&
22 make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $install/usr/bin $fs/usr
30 cp -a $install/usr/lib/node* $fs/usr/lib
31 }