wok view node/receipt @ rev 14209

gnome-commander: patch
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Mar 16 12:23:09 2013 +0000 (2013-03-16)
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 }