wok-6.x view node/receipt @ rev 17892
Down libgiomm (2.40.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 02 17:22:53 2015 +0200 (2015-04-02) |
parents | c3c55061e3e4 |
children | 6699ed4b2a99 |
line source
1 # SliTaz package receipt.
3 PACKAGE="node"
4 VERSION="0.10.26"
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 }