wok-current view node/receipt @ rev 19532

suplemon: tiny edits.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Nov 29 15:32:40 2016 +0200 (2016-11-29)
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 }