wok-6.x view node/receipt @ rev 19587

Up node (0.12.18)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 28 13:05:40 2016 +0100 (2016-12-28)
parents 6699ed4b2a99
children 41409ce5bfcf
line source
1 # SliTaz package receipt.
3 PACKAGE="node"
4 VERSION="0.12.18"
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 ./configure --prefix=/usr &&
21 make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $install/usr/bin $fs/usr
29 cp -a $install/usr/lib/node* $fs/usr/lib
30 }