summaryrefslogtreecommitdiffstats
path: root/src/gtksourceview.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2010-09-30 10:09:40 (GMT)
committerTony Theodore <tonyt@logyst.com>2010-09-30 10:09:40 (GMT)
commit4c05709f347454391d25c23a4323eefe74ba40f9 (patch)
tree848b1fd54c3a6b508db4682fba26cc6f3ad03d05 /src/gtksourceview.mk
parent05bf79fe2cae47e79d8d6513ef6a4e019dbdbffc (diff)
downloadmxe-4c05709f347454391d25c23a4323eefe74ba40f9.zip
mxe-4c05709f347454391d25c23a4323eefe74ba40f9.tar.gz
mxe-4c05709f347454391d25c23a4323eefe74ba40f9.tar.bz2
include package gtksourceview again
package was removed pending bugfixes: http://lists.nongnu.org/archive/html/mingw-cross-env-list/2010-05/msg00319.html
Diffstat (limited to 'src/gtksourceview.mk')
-rw-r--r--src/gtksourceview.mk31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/gtksourceview.mk b/src/gtksourceview.mk
new file mode 100644
index 0000000..2529b1f
--- /dev/null
+++ b/src/gtksourceview.mk
@@ -0,0 +1,31 @@
+# This file is part of mingw-cross-env.
+# See doc/index.html for further information.
+
+# GTKSourceView
+PKG := gtksourceview
+$(PKG)_IGNORE :=
+$(PKG)_VERSION := 2.10.3
+$(PKG)_CHECKSUM := 318a495315b1b6e67d7a5ef2ea68060cb68b511a
+$(PKG)_SUBDIR := gtksourceview-$($(PKG)_VERSION)
+$(PKG)_FILE := gtksourceview-$($(PKG)_VERSION).tar.bz2
+$(PKG)_WEBSITE := http://projects.gnome.org/gtksourceview/
+$(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/gtksourceview/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE)
+$(PKG)_DEPS := gcc gtk libxml2
+
+define $(PKG)_UPDATE
+ wget -q -O- 'http://git.gnome.org/browse/gtksourceview/refs/tags' | \
+ grep '<a href=' | \
+ $(SED) -n "s,.*<a href='[^']*/tag/?id=GTKSOURCEVIEW_\\([0-9]*_[0-9]*[02468]_[^<]*\\)'.*,\\1,p" | \
+ $(SED) 's,_,.,g' | \
+ head -1
+endef
+
+define $(PKG)_BUILD
+ cd '$(1)' && ./configure \
+ --host='$(TARGET)' \
+ --disable-shared \
+ --prefix='$(PREFIX)/$(TARGET)' \
+ --disable-gtk-doc
+ $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
+ $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
+endef