annotate src/gtksourceview.mk @ 4709:2cee87644b69

* src/gtksourceview.mk: update update rule
author John Donoghue
date Thu, 24 May 2018 08:46:06 -0400
parents d5a5b8e659de
children 038985c3bde2
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.
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 :=
3480
13be64f9f16d move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents: 3048
diff changeset
6 $(PKG)_VERSION := 2.10.5
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)
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
11 $(PKG)_DEPS := 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
4709
2cee87644b69 * src/gtksourceview.mk: update update rule
John Donoghue
parents: 4384
diff changeset
14
2cee87644b69 * src/gtksourceview.mk: update update rule
John Donoghue
parents: 4384
diff changeset
15 $(WGET) -q -O- https://github.com/GNOME/gtksourceview/tags | \
2cee87644b69 * src/gtksourceview.mk: update update rule
John Donoghue
parents: 4384
diff changeset
16 $(SED) -n 's|.*releases/tag/\([^"]*\).*|\1|p' | grep -v '^2\.9[0-9]\.' | $(SORT) -V | \
2cee87644b69 * src/gtksourceview.mk: update update rule
John Donoghue
parents: 4384
diff changeset
17 tail -1
1018
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 \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
22 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
2855
47558e958113 Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents: 2525
diff changeset
23 $(ENABLE_SHARED_OR_STATIC) \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2855
diff changeset
24 --prefix='$(HOST_PREFIX)' \
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 \
3014
b6c7244a2f66 Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
26 GLIB_GENMARSHAL='$(HOST_BINDIR)/glib-genmarshal' \
b6c7244a2f66 Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
27 GLIB_MKENUMS='$(HOST_BINDIR)/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