wok-6.x annotate node/receipt @ rev 15164

Up xorg-xf86-input-void (1.4.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 15 18:48:58 2013 +0000 (2013-08-15)
parents
children 3532f2e1c049
rev   line source
pankso@12020 1 # SliTaz package receipt.
pankso@12020 2
pankso@12020 3 PACKAGE="node"
pankso@12020 4 VERSION="0.6.12"
pankso@12020 5 CATEGORY="network"
pankso@12020 6 SHORT_DESC="Node.js is a platform for easily building network applications."
pankso@12020 7 MAINTAINER="pankso@slitaz.org"
pankso@12020 8 TARBALL="$PACKAGE-v$VERSION.tar.gz"
pankso@12020 9 WEB_SITE="http://nodejs.org/"
pankso@12020 10 WGET_URL="http://nodejs.org/dist/v$VERSION/$TARBALL"
pankso@12020 11
pankso@12020 12 DEPENDS="python libssl"
pankso@12020 13 BUILD_DEPENDS="python-dev openssl-dev"
pankso@12020 14
pankso@12020 15 # Rules to configure and make the package.
pankso@12020 16 compile_rules()
pankso@12020 17 {
pankso@12020 18 cd $src
pankso@12020 19 ./configure --prefix=/usr &&
pankso@12020 20 make && make install
pankso@12020 21 }
pankso@12020 22
pankso@12020 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@12020 24 genpkg_rules()
pankso@12020 25 {
pankso@12020 26 mkdir -p $fs/usr/lib
pankso@12020 27 cp -a $install/usr/bin $fs/usr
pankso@12020 28 cp -a $install/usr/lib/node* $fs/usr/lib
pankso@12020 29 }