annotate src/gtksourceview.mk @ 2333:f653602a0500

Rebrand to new project name MXE
author Volker Grabsch <vog@notjusthosting.com>
date Wed, 28 Mar 2012 15:46:58 +0200
parents 68ccbdf94db3
children f48c5b085a38
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 1594
diff changeset
1 # This file is part of MXE.
1018
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 :=
1229
e8400e05db49 update gtksourceview and ignore development versions
Tony Theodore <tonyt@logyst.com>
parents: 1228
diff changeset
7 $(PKG)_VERSION := 2.10.5
e8400e05db49 update gtksourceview and ignore development versions
Tony Theodore <tonyt@logyst.com>
parents: 1228
diff changeset
8 $(PKG)_CHECKSUM := 5081dc7a081954d0af73852c22e874a746bda30e
1018
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)
1594
68ccbdf94db3 rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents: 1445
diff changeset
13 $(PKG)_DEPS := gcc gtk2 libxml2
1018
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' | \
1299
a7a7ac4d979d simplified update code of package gtksourceview
Volker Grabsch <vog@notjusthosting.com>
parents: 1229
diff changeset
17 $(SED) -n 's,.*>GTKSOURCEVIEW_\([0-9]\+_[0-9]*[02468]_[^<]*\)<.*,\1,p' | \
1018
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 $(SED) 's,_,.,g' | \
1445
f168178d600c improved version recognition of packages: gtksourceview gtksourceviewmm
Volker Grabsch <vog@notjusthosting.com>
parents: 1299
diff changeset
19 grep -v '^2\.9[0-9]\.' | \
1018
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