wok-6.x view node/receipt @ rev 16323

Up: connman-ui url (actualy we can download zip archive for specific commit)
author Alexander Medvedev <devl547@gmail.com>
date Thu Apr 10 12:23:54 2014 +0400 (2014-04-10)
parents 3532f2e1c049
children ba780b0b772e
line source
1 # SliTaz package receipt.
3 PACKAGE="node"
4 VERSION="0.10.26"
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 }