summaryrefslogtreecommitdiffstats
path: root/src/cairomm.mk
diff options
context:
space:
mode:
authorMartin Gerhardy <martin.gerhardy@gmail.com>2010-09-18 19:35:42 (GMT)
committerMartin Gerhardy <martin.gerhardy@gmail.com>2010-09-18 19:35:42 (GMT)
commit2f4f7d9c6bb53ae697963ceec9dfbd7f62b3a70e (patch)
treeab477e591b8942990f4dd5e8fa2e1e7a059b75ec /src/cairomm.mk
parent8c2cb2c0b37588ea809256e152f4bdbcb91e3f69 (diff)
downloadmxe-2f4f7d9c6bb53ae697963ceec9dfbd7f62b3a70e.zip
mxe-2f4f7d9c6bb53ae697963ceec9dfbd7f62b3a70e.tar.gz
mxe-2f4f7d9c6bb53ae697963ceec9dfbd7f62b3a70e.tar.bz2
new packages: atkmm cairomm glibmm gtkmm libsigc++ pangomm
Diffstat (limited to 'src/cairomm.mk')
-rw-r--r--src/cairomm.mk28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/cairomm.mk b/src/cairomm.mk
new file mode 100644
index 0000000..871927e
--- /dev/null
+++ b/src/cairomm.mk
@@ -0,0 +1,28 @@
+# This file is part of mingw-cross-env.
+# See doc/index.html for further information.
+
+# cairomm
+PKG := cairomm
+$(PKG)_IGNORE :=
+$(PKG)_VERSION := 1.8.4
+$(PKG)_CHECKSUM := fdea579f406261881a0f4f6242a3980aecef382d
+$(PKG)_SUBDIR := cairomm-$($(PKG)_VERSION)
+$(PKG)_FILE := cairomm-$($(PKG)_VERSION).tar.gz
+$(PKG)_WEBSITE := http://cairographics.org/
+$(PKG)_URL := http://cairographics.org/releases/$($(PKG)_FILE)
+$(PKG)_DEPS := cairo libsigc++
+
+define $(PKG)_UPDATE
+ wget -q -O- 'http://cairographics.org/releases/' | \
+ grep 'LATEST-cairomm-' | \
+ $(SED) -n 's,.*"LATEST-cairomm-\([0-9][^"]*\)".*,\1,p' | \
+ head -1
+endef
+
+define $(PKG)_BUILD
+ cd '$(1)' && ./configure \
+ --host='$(TARGET)' \
+ --disable-shared \
+ --prefix='$(PREFIX)/$(TARGET)'
+ $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
+endef \ No newline at end of file