phantomjs: Update version and download URLs

This commit is contained in:
Ossi Salmi 2014-06-17 10:29:57 +03:00
parent 55c5e87f48
commit 5b0985fb1f

View file

@ -1,11 +1,11 @@
include $(CURDIR)/../Makefile.inc
VERSION = 1.9.0
VERSION = 1.9.7
TARGET32 = phantomjs-$(VERSION)-linux-i686.tar.bz2
SOURCE32 = https://phantomjs.googlecode.com/files/phantomjs-$(VERSION)-linux-i686.tar.bz2
SOURCE32 = https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-$(VERSION)-linux-i686.tar.bz2
TARGET64 = phantomjs-$(VERSION)-linux-x86_64.tar.bz2
SOURCE64 = https://phantomjs.googlecode.com/files/phantomjs-$(VERSION)-linux-x86_64.tar.bz2
SOURCE64 = https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-$(VERSION)-linux-x86_64.tar.bz2
all: download manifest
download: $(PACKAGES)/$(TARGET32) $(PACKAGES)/$(TARGET64)
@ -13,11 +13,11 @@ manifest: $(MANIFESTS)/phantomjs.pp
$(PACKAGES)/$(TARGET32):
@umask 022; echo $@; \
test -f $@ || curl -f -o $@ $(SOURCE32)
test -f $@ || curl -L -f -o $@ $(SOURCE32)
$(PACKAGES)/$(TARGET64):
@umask 022; echo $@; \
test -f $@ || curl -f -o $@ $(SOURCE64)
test -f $@ || curl -L -f -o $@ $(SOURCE64)
$(MANIFESTS)/phantomjs.pp: $(PACKAGES)/$(TARGET32) $(PACKAGES)/$(TARGET64)
@umask 022; echo $@; \