wok view node/receipt @ rev 13600
Add pdnsd
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 10 11:39:11 2012 +0100 (2012-11-10) |
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 }