wok-6.x annotate node/receipt @ rev 18606
busybox: touch $root/etc/daemons.conf
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Nov 16 11:29:05 2015 +0200 (2015-11-16) |
parents | c3c55061e3e4 |
children | 6699ed4b2a99 |
rev | line source |
---|---|
pankso@12020 | 1 # SliTaz package receipt. |
pankso@12020 | 2 |
pankso@12020 | 3 PACKAGE="node" |
pankso@16317 | 4 VERSION="0.10.26" |
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" |
pascal@15503 | 8 LICENSE="MIT" |
pankso@12020 | 9 TARBALL="$PACKAGE-v$VERSION.tar.gz" |
pankso@12020 | 10 WEB_SITE="http://nodejs.org/" |
pankso@12020 | 11 WGET_URL="http://nodejs.org/dist/v$VERSION/$TARBALL" |
pankso@16509 | 12 #HOST_ARCH="i486 arm" |
pankso@12020 | 13 |
pankso@12020 | 14 DEPENDS="python libssl" |
pankso@12020 | 15 BUILD_DEPENDS="python-dev openssl-dev" |
pankso@12020 | 16 |
pankso@12020 | 17 # Rules to configure and make the package. |
pankso@12020 | 18 compile_rules() |
pankso@12020 | 19 { |
pankso@16509 | 20 #patch -p0 < ${stuff}/SConstruct.patch || return 1 |
pankso@12020 | 21 ./configure --prefix=/usr && |
pankso@12020 | 22 make && make install |
pankso@12020 | 23 } |
pankso@12020 | 24 |
pankso@12020 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12020 | 26 genpkg_rules() |
pankso@12020 | 27 { |
pankso@12020 | 28 mkdir -p $fs/usr/lib |
pankso@12020 | 29 cp -a $install/usr/bin $fs/usr |
pankso@12020 | 30 cp -a $install/usr/lib/node* $fs/usr/lib |
pankso@12020 | 31 } |