wok view node/receipt @ rev 12244

Up: slitaz-configs (4.9)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 09 18:09:48 2012 +0200 (2012-04-09)
parents
children 3532f2e1c049
line source
1 # SliTaz package receipt.
3 PACKAGE="node"
4 VERSION="0.6.12"
5 CATEGORY="network"
6 SHORT_DESC="Node.js is a platform for easily building network applications."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-v$VERSION.tar.gz"
9 WEB_SITE="http://nodejs.org/"
10 WGET_URL="http://nodejs.org/dist/v$VERSION/$TARBALL"
12 DEPENDS="python libssl"
13 BUILD_DEPENDS="python-dev openssl-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr &&
20 make && make install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib
27 cp -a $install/usr/bin $fs/usr
28 cp -a $install/usr/lib/node* $fs/usr/lib
29 }