annotate src/gtksourceviewmm2.mk @ 3012:100e618349f7

Improve handling of prefix directories by defining HOST_PREFIX and BUILD_TOOLS_PREFIX variables in top-level Makefile.
author John W. Eaton <jwe@octave.org>
date Sun, 02 Jun 2013 10:31:04 -0400
parents 47558e958113
children bcc26ffe9a0f
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: 2153
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.
1777
71f6faee4918 rename package gtksourceviewmm to gtksourceviewmm2, sticking to major release 2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
71f6faee4918 rename package gtksourceviewmm to gtksourceviewmm2, sticking to major release 2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 PKG := gtksourceviewmm2
71f6faee4918 rename package gtksourceviewmm to gtksourceviewmm2, sticking to major release 2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 $(PKG)_IGNORE :=
2699
f4902ff680c1 update package gtksourceviewmm2
Mark Brand <mabrand@mabrand.nl>
parents: 2525
diff changeset
6 $(PKG)_CHECKSUM := 17d5daf33d2b6bc21c48c5c730abaae70e027566
1777
71f6faee4918 rename package gtksourceviewmm to gtksourceviewmm2, sticking to major release 2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
7 $(PKG)_SUBDIR := gtksourceviewmm-$($(PKG)_VERSION)
2699
f4902ff680c1 update package gtksourceviewmm2
Mark Brand <mabrand@mabrand.nl>
parents: 2525
diff changeset
8 $(PKG)_FILE := $($(PKG)_SUBDIR).tar.xz
1777
71f6faee4918 rename package gtksourceviewmm to gtksourceviewmm2, sticking to major release 2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/gtksourceviewmm/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE)
71f6faee4918 rename package gtksourceviewmm to gtksourceviewmm2, sticking to major release 2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(PKG)_DEPS := gcc gtkmm2 gtksourceview
71f6faee4918 rename package gtksourceviewmm to gtksourceviewmm2, sticking to major release 2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11
71f6faee4918 rename package gtksourceviewmm to gtksourceviewmm2, sticking to major release 2
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/cgit/gtksourceviewmm/refs/tags' | \
1777
71f6faee4918 rename package gtksourceviewmm to gtksourceviewmm2, sticking to major release 2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14 grep '<a href=' | \
71f6faee4918 rename package gtksourceviewmm to gtksourceviewmm2, sticking to major release 2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 $(SED) -n "s,.*<a href='[^']*/tag/?id=gtksourceviewmm-\\([0-9][^']*\\)'.*,\\1,p" | \
71f6faee4918 rename package gtksourceviewmm to gtksourceviewmm2, sticking to major release 2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 grep -v '^2\.9[0-9]\.' | \
71f6faee4918 rename package gtksourceviewmm to gtksourceviewmm2, sticking to major release 2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 grep '^2\.' | \
71f6faee4918 rename package gtksourceviewmm to gtksourceviewmm2, sticking to major release 2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 head -1
71f6faee4918 rename package gtksourceviewmm to gtksourceviewmm2, sticking to major release 2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 endef
71f6faee4918 rename package gtksourceviewmm to gtksourceviewmm2, sticking to major release 2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20
71f6faee4918 rename package gtksourceviewmm to gtksourceviewmm2, sticking to major release 2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 define $(PKG)_BUILD
71f6faee4918 rename package gtksourceviewmm to gtksourceviewmm2, sticking to major release 2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 cd '$(1)' && ./configure \
71f6faee4918 rename package gtksourceviewmm to gtksourceviewmm2, sticking to major release 2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 --host='$(TARGET)' \
2153
e4c83fa61a5b replaced $(BUILD) with a more direct and less brittle construct
Volker Grabsch <vog@notjusthosting.com>
parents: 2148
diff changeset
24 --build="`config.guess`" \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2855
diff changeset
25 --prefix='$(HOST_PREFIX)' \
2855
47558e958113 Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents: 2699
diff changeset
26 $(ENABLE_SHARED_OR_STATIC) \
1777
71f6faee4918 rename package gtksourceviewmm to gtksourceviewmm2, sticking to major release 2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 MAKE=$(MAKE)
1778
e2cd7fa6c8c5 make package gtksourceviewmm2 work with glibmm-2.28.0
Volker Grabsch <vog@notjusthosting.com>
parents: 1777
diff changeset
28 $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
e2cd7fa6c8c5 make package gtksourceviewmm2 work with glibmm-2.28.0
Volker Grabsch <vog@notjusthosting.com>
parents: 1777
diff changeset
29 $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= doc_install='# DISABLED: doc-install.pl'
1777
71f6faee4918 rename package gtksourceviewmm to gtksourceviewmm2, sticking to major release 2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
30 endef