package agg: use mxe pkg mirror until project relocates

This commit is contained in:
Tony Theodore 2014-04-22 14:32:00 +10:00
parent 5f4536404c
commit c9afbabda5
1 changed files with 6 additions and 1 deletions

View File

@ -7,10 +7,15 @@ $(PKG)_VERSION := 2.5
$(PKG)_CHECKSUM := 08f23da64da40b90184a0414369f450115cdb328
$(PKG)_SUBDIR := agg-$($(PKG)_VERSION)
$(PKG)_FILE := agg-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := http://www.antigrain.com/$($(PKG)_FILE)
$(PKG)_URL := $(PKG_MIRROR)/$($(PKG)_FILE)
$(PKG)_DEPS := gcc freetype sdl
define $(PKG)_UPDATE
echo 'TODO: package agg is moving: https://github.com/mxe/mxe/issues/386' >&2;
echo $(agg_VERSION)
endef
define $(PKG)_UPDATE_OLD
$(WGET) -q -O- 'http://www.antigrain.com/download/index.html' | \
$(SED) -n 's,.*<A href="http://www.antigrain.com/agg-\([0-9.]*\).tar.gz".*,\1,p' | \
head -1