summaryrefslogtreecommitdiffstats
path: root/src/agg.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2014-04-22 04:32:00 (GMT)
committerTony Theodore <tonyt@logyst.com>2014-04-22 04:32:00 (GMT)
commitc9afbabda56635bb1f2f49090a0c2091d4ab1340 (patch)
tree023b4d49bea37d6d32aaf8a48c4a332cb57e1308 /src/agg.mk
parent5f4536404c4b23313bfa75bd07b3897b9e15d766 (diff)
downloadmxe-c9afbabda56635bb1f2f49090a0c2091d4ab1340.zip
mxe-c9afbabda56635bb1f2f49090a0c2091d4ab1340.tar.gz
mxe-c9afbabda56635bb1f2f49090a0c2091d4ab1340.tar.bz2
package agg: use mxe pkg mirror until project relocates
Diffstat (limited to 'src/agg.mk')
-rw-r--r--src/agg.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/agg.mk b/src/agg.mk
index f61d491..63b0390 100644
--- a/src/agg.mk
+++ b/src/agg.mk
@@ -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