wok-next view node/receipt @ rev 15629
xine-plugin: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 09 08:26:16 2013 +0000 (2013-12-09) |
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 }