summaryrefslogtreecommitdiffstats
path: root/src/agg.mk
diff options
context:
space:
mode:
authorMatthias Gehre <M.Gehre@gmx.de>2011-11-27 19:29:10 (GMT)
committerMatthias Gehre <M.Gehre@gmx.de>2011-11-27 19:29:10 (GMT)
commitf7da8c56c83e56807f77d926184f915a9ebc81b0 (patch)
treedccbed33d3b3ef3ad58223a9f2f5fde720f68b65 /src/agg.mk
parent3cce3e9b58dda736fbedbecc9e8449ce65b9f64c (diff)
downloadmxe-f7da8c56c83e56807f77d926184f915a9ebc81b0.zip
mxe-f7da8c56c83e56807f77d926184f915a9ebc81b0.tar.gz
mxe-f7da8c56c83e56807f77d926184f915a9ebc81b0.tar.bz2
new package agg
Diffstat (limited to 'src/agg.mk')
-rw-r--r--src/agg.mk28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/agg.mk b/src/agg.mk
new file mode 100644
index 0000000..6142c7d
--- /dev/null
+++ b/src/agg.mk
@@ -0,0 +1,28 @@
+# This file is part of mingw-cross-env.
+# See doc/index.html for further information.
+
+PKG := agg
+$(PKG)_IGNORE :=
+$(PKG)_VERSION := 2.5
+$(PKG)_CHECKSUM := 08f23da64da40b90184a0414369f450115cdb328
+$(PKG)_SUBDIR := agg-$($(PKG)_VERSION)
+$(PKG)_FILE := agg-$($(PKG)_VERSION).tar.gz
+$(PKG)_WEBSITE := http://www.antigrain.com
+$(PKG)_URL := http://www.antigrain.com/$($(PKG)_FILE)
+$(PKG)_DEPS := gcc
+
+define $(PKG)_UPDATE
+ 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
+endef
+
+define $(PKG)_BUILD
+ cd '$(1)' && sh autogen.sh
+ cd '$(1)' && ./configure \
+ --host='$(TARGET)' \
+ --disable-shared \
+ --prefix='$(PREFIX)/$(TARGET)' \
+ --without-x
+ $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
+endef