wok view node/receipt @ rev 14304

Up: eeze (1.7.5)
author Dominique Corbex <domcox@slitaz.org>
date Sun Apr 07 10:16:45 2013 +0200 (2013-04-07)
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 }