Mercurial > mxe-octave
annotate src/gtksourceviewmm.mk @ 1774:0f3ee03ef309
fix forgotten dependencies
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Sat, 23 Apr 2011 15:59:36 +0200 |
parents | 677ae8ffe2af |
children |
rev | line source |
---|---|
1230
b62218b0ea3c
new package gtksourceviewmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff
changeset
|
1 # This file is part of mingw-cross-env. |
b62218b0ea3c
new package gtksourceviewmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff
changeset
|
2 # See doc/index.html for further information. |
b62218b0ea3c
new package gtksourceviewmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff
changeset
|
3 |
b62218b0ea3c
new package gtksourceviewmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff
changeset
|
4 # GtkSourceViewmm |
b62218b0ea3c
new package gtksourceviewmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff
changeset
|
5 PKG := gtksourceviewmm |
b62218b0ea3c
new package gtksourceviewmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff
changeset
|
6 $(PKG)_IGNORE := |
b62218b0ea3c
new package gtksourceviewmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff
changeset
|
7 $(PKG)_VERSION := 2.10.1 |
b62218b0ea3c
new package gtksourceviewmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff
changeset
|
8 $(PKG)_CHECKSUM := 7f6fb046427054d85c791a4b1fc0f742a3313c8a |
b62218b0ea3c
new package gtksourceviewmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff
changeset
|
9 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
b62218b0ea3c
new package gtksourceviewmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff
changeset
|
10 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz |
1446
677ae8ffe2af
fix website URL of package gtksourceviewmm
Volker Grabsch <vog@notjusthosting.com>
parents:
1445
diff
changeset
|
11 $(PKG)_WEBSITE := http://projects.gnome.org/gtksourceviewmm/ |
1230
b62218b0ea3c
new package gtksourceviewmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff
changeset
|
12 $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/gtksourceviewmm/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE) |
1774
0f3ee03ef309
fix forgotten dependencies
Volker Grabsch <vog@notjusthosting.com>
parents:
1446
diff
changeset
|
13 $(PKG)_DEPS := gcc gtkmm2 gtksourceview |
1230
b62218b0ea3c
new package gtksourceviewmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff
changeset
|
14 |
b62218b0ea3c
new package gtksourceviewmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff
changeset
|
15 define $(PKG)_UPDATE |
b62218b0ea3c
new package gtksourceviewmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff
changeset
|
16 wget -q -O- 'http://git.gnome.org/cgit/gtksourceviewmm/refs/tags' | \ |
b62218b0ea3c
new package gtksourceviewmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff
changeset
|
17 grep '<a href=' | \ |
b62218b0ea3c
new package gtksourceviewmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff
changeset
|
18 $(SED) -n "s,.*<a href='[^']*/tag/?id=gtksourceviewmm-\\([0-9][^']*\\)'.*,\\1,p" | \ |
1445
f168178d600c
improved version recognition of packages: gtksourceview gtksourceviewmm
Volker Grabsch <vog@notjusthosting.com>
parents:
1283
diff
changeset
|
19 grep -v '^2\.9[0-9]\.' | \ |
1230
b62218b0ea3c
new package gtksourceviewmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff
changeset
|
20 head -1 |
b62218b0ea3c
new package gtksourceviewmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff
changeset
|
21 endef |
b62218b0ea3c
new package gtksourceviewmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff
changeset
|
22 |
b62218b0ea3c
new package gtksourceviewmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff
changeset
|
23 define $(PKG)_BUILD |
b62218b0ea3c
new package gtksourceviewmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff
changeset
|
24 # wine confuses the cross-compiling detection, so set it explicitly |
b62218b0ea3c
new package gtksourceviewmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff
changeset
|
25 $(SED) -i 's,cross_compiling=no,cross_compiling=yes,' '$(1)/configure' |
b62218b0ea3c
new package gtksourceviewmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff
changeset
|
26 cd '$(1)' && ./configure \ |
b62218b0ea3c
new package gtksourceviewmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff
changeset
|
27 --host='$(TARGET)' \ |
b62218b0ea3c
new package gtksourceviewmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff
changeset
|
28 --prefix='$(PREFIX)/$(TARGET)' \ |
1233
cc6c5d009f44
portability fix for gtksourceviewmm
Tony Theodore <tonyt@logyst.com>
parents:
1230
diff
changeset
|
29 --disable-shared \ |
cc6c5d009f44
portability fix for gtksourceviewmm
Tony Theodore <tonyt@logyst.com>
parents:
1230
diff
changeset
|
30 MAKE=$(MAKE) |
1230
b62218b0ea3c
new package gtksourceviewmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff
changeset
|
31 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= |
b62218b0ea3c
new package gtksourceviewmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff
changeset
|
32 endef |