Mercurial > mxe-octave
annotate src/gtksourceview.mk @ 2525:4d0f3a9da57e
all packages: use $(WGET) portability variable
author | Tony Theodore <tonyt@logyst.com> |
---|---|
date | Wed, 09 May 2012 01:16:05 +1000 |
parents | b5321bdec505 |
children | 47558e958113 |
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. |
2353
99516e73b368
Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents:
2349
diff
changeset
|
2 # See index.html for further information. |
1018
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 PKG := gtksourceview |
cd266012d558
new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
5 $(PKG)_IGNORE := |
1229
e8400e05db49
update gtksourceview and ignore development versions
Tony Theodore <tonyt@logyst.com>
parents:
1228
diff
changeset
|
6 $(PKG)_CHECKSUM := 5081dc7a081954d0af73852c22e874a746bda30e |
1018
cd266012d558
new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
7 $(PKG)_SUBDIR := gtksourceview-$($(PKG)_VERSION) |
cd266012d558
new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
8 $(PKG)_FILE := gtksourceview-$($(PKG)_VERSION).tar.bz2 |
cd266012d558
new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
9 $(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
|
10 $(PKG)_DEPS := gcc gtk2 libxml2 |
1018
cd266012d558
new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
11 |
cd266012d558
new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 define $(PKG)_UPDATE |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2365
diff
changeset
|
13 $(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
|
14 $(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
|
15 $(SED) 's,_,.,g' | \ |
1445
f168178d600c
improved version recognition of packages: gtksourceview gtksourceviewmm
Volker Grabsch <vog@notjusthosting.com>
parents:
1299
diff
changeset
|
16 grep -v '^2\.9[0-9]\.' | \ |
1018
cd266012d558
new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 head -1 |
cd266012d558
new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 endef |
cd266012d558
new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 |
cd266012d558
new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 define $(PKG)_BUILD |
cd266012d558
new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
21 cd '$(1)' && ./configure \ |
cd266012d558
new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
22 --host='$(TARGET)' \ |
cd266012d558
new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
23 --disable-shared \ |
cd266012d558
new package: gtksourceview (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
24 --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
|
25 --disable-gtk-doc \ |
f485e93f9b65
bugfix for gtksourceview: specify location of glib-genmarshal and glib-mkenums
Tony Theodore <tonyt@logyst.com>
parents:
1018
diff
changeset
|
26 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
|
27 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
|
28 $(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
|
29 $(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
|
30 endef |