wok-6.x view node/receipt @ rev 19352
Up ncdu (1.11)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Jul 24 19:13:10 2016 +0100 (2016-07-24) |
parents | ba780b0b772e |
children | 15f4b343711a |
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 }