annotate src/gtksourceview.mk @ 1228:f485e93f9b65

bugfix for gtksourceview: specify location of glib-genmarshal and glib-mkenums
author Tony Theodore <tonyt@logyst.com>
date Thu, 30 Sep 2010 20:30:50 +1000
parents cd266012d558
children e8400e05db49
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1018
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
1 # This file is part of mingw-cross-env.
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
2 # See doc/index.html for further information.
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 # GTKSourceView
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 PKG := gtksourceview
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
6 $(PKG)_IGNORE :=
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
7 $(PKG)_VERSION := 2.10.3
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_CHECKSUM := 318a495315b1b6e67d7a5ef2ea68060cb68b511a
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_SUBDIR := gtksourceview-$($(PKG)_VERSION)
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(PKG)_FILE := gtksourceview-$($(PKG)_VERSION).tar.bz2
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11 $(PKG)_WEBSITE := http://projects.gnome.org/gtksourceview/
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12 $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/gtksourceview/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE)
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 $(PKG)_DEPS := gcc gtk libxml2
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 define $(PKG)_UPDATE
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 wget -q -O- 'http://git.gnome.org/browse/gtksourceview/refs/tags' | \
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 grep '<a href=' | \
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 $(SED) -n "s,.*<a href='[^']*/tag/?id=GTKSOURCEVIEW_\\([0-9]*_[0-9]*[02468]_[^<]*\\)'.*,\\1,p" | \
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 $(SED) 's,_,.,g' | \
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 head -1
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 endef
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 define $(PKG)_BUILD
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 cd '$(1)' && ./configure \
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 --host='$(TARGET)' \
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 --disable-shared \
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 --prefix='$(PREFIX)/$(TARGET)' \
1228
f485e93f9b65 bugfix for gtksourceview: specify location of glib-genmarshal and glib-mkenums
Tony Theodore <tonyt@logyst.com>
parents: 1018
diff changeset
28 --disable-gtk-doc \
f485e93f9b65 bugfix for gtksourceview: specify location of glib-genmarshal and glib-mkenums
Tony Theodore <tonyt@logyst.com>
parents: 1018
diff changeset
29 GLIB_GENMARSHAL='$(PREFIX)/$(TARGET)/bin/glib-genmarshal' \
f485e93f9b65 bugfix for gtksourceview: specify location of glib-genmarshal and glib-mkenums
Tony Theodore <tonyt@logyst.com>
parents: 1018
diff changeset
30 GLIB_MKENUMS='$(PREFIX)/$(TARGET)/bin/glib-mkenums'
1018
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
31 $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
32 $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
33 endef