wok-6.x view node/receipt @ rev 15930
Up: cmake (2.8.11)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Feb 22 11:23:36 2014 +0100 (2014-02-22) |
parents | 827b17f598c3 |
children | c3c55061e3e4 |
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 LICENSE="MIT"
9 TARBALL="$PACKAGE-v$VERSION.tar.gz"
10 WEB_SITE="http://nodejs.org/"
11 WGET_URL="http://nodejs.org/dist/v$VERSION/$TARBALL"
13 DEPENDS="python libssl"
14 BUILD_DEPENDS="python-dev openssl-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr &&
21 make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $install/usr/bin $fs/usr
29 cp -a $install/usr/lib/node* $fs/usr/lib
30 }