annotate src/gtksourceview.mk @ 2349:f48c5b085a38

Move $(PKG)_VERSION and $(PKG)_WEBSITE from src/*.mk into doc/index.html
author Volker Grabsch <vog@notjusthosting.com>
date Thu, 29 Mar 2012 11:07:07 +0200
parents f653602a0500
children 99516e73b368
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)_CHECKSUM := 5081dc7a081954d0af73852c22e874a746bda30e
1018
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_SUBDIR := gtksourceview-$($(PKG)_VERSION)
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_FILE := gtksourceview-$($(PKG)_VERSION).tar.bz2
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(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
11 $(PKG)_DEPS := gcc gtk2 libxml2
1018
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 define $(PKG)_UPDATE
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14 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
15 $(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
16 $(SED) 's,_,.,g' | \
1445
f168178d600c improved version recognition of packages: gtksourceview gtksourceviewmm
Volker Grabsch <vog@notjusthosting.com>
parents: 1299
diff changeset
17 grep -v '^2\.9[0-9]\.' | \
1018
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 head -1
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 endef
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 define $(PKG)_BUILD
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 cd '$(1)' && ./configure \
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 --host='$(TARGET)' \
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 --disable-shared \
cd266012d558 new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 --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
26 --disable-gtk-doc \
f485e93f9b65 bugfix for gtksourceview: specify location of glib-genmarshal and glib-mkenums
Tony Theodore <tonyt@logyst.com>
parents: 1018
diff changeset
27 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
28 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
29 $(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
30 $(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
31 endef