From 3aea49f62ae1a751f0c03b29654898c47736e6f9 Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 19 Jun 2011 23:11:33 +0200 Subject: node: use curl instead of cur --- node/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'node/Makefile') diff --git a/node/Makefile b/node/Makefile index 00e27b6f..6428ff0f 100644 --- a/node/Makefile +++ b/node/Makefile @@ -5,4 +5,4 @@ all: node-v0.4.8 cd $< && ./configure && make && make install node-%: - cur http://nodejs.org/dist/$@.tar.gz | tar zx + curl http://nodejs.org/dist/$@.tar.gz | tar zx -- cgit v1.2.3 From 27b2240d1c4fef02f06cea6c426283712fc5f13b Mon Sep 17 00:00:00 2001 From: user Date: Sun, 19 Jun 2011 23:42:50 +0000 Subject: node: install curl --- node/Makefile | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) (limited to 'node/Makefile') diff --git a/node/Makefile b/node/Makefile index 6428ff0f..20e15c70 100644 --- a/node/Makefile +++ b/node/Makefile @@ -1,8 +1,24 @@ -.PHONY: all -all: node-v0.4.8 - cd $< && ./configure && make && make install +.PHONY: all build install -node-%: +all: + @echo "You are made of stupid!"; exit 23 + +build: node node/build/default/node + cd node && ./configure && make + +install: build + cd node && make install + +node: node-git + ln -vsnf $< $@ + +node-git: + git clone https://github.com/joyent/node node-git + +node-%: /usr/bin/curl curl http://nodejs.org/dist/$@.tar.gz | tar zx + +/usr/bin/curl: + apt-get install --yes curl -- cgit v1.2.3