wok-4.x view node/receipt @ rev 12322

get-wfica: update (thanks Carl)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 22 18:22:54 2012 +0200 (2012-08-22)
parents
children
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 }