Mercurial > mxe-octave
annotate src/vala.mk @ 6213:5f64fb928091 release
build-gcc: Avoid library clash when calling msgfmt.
* src/build-gcc-1-msgfmt.patch: Don't use libraries from the build tree when
calling `msgfmt`.
* dist-files.mk: Add patch to list.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Fri, 06 May 2022 19:36:10 +0200 |
parents | de2eedecd6ba |
children |
rev | line source |
---|---|
3133
93dc7f614289
Add vala to the package list
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
1 # This file is part of MXE. |
93dc7f614289
Add vala to the package list
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
2 # See index.html for further information. |
93dc7f614289
Add vala to the package list
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
3 |
93dc7f614289
Add vala to the package list
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
4 PKG := vala |
93dc7f614289
Add vala to the package list
Michael Goffioul <michael.goffioul@gmail.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:
3133
diff
changeset
|
6 $(PKG)_VERSION := 0.20.1 |
3133
93dc7f614289
Add vala to the package list
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
7 $(PKG)_CHECKSUM := 6a453140ccc252a3d46d110ab03da005885754f7 |
93dc7f614289
Add vala to the package list
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
93dc7f614289
Add vala to the package list
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.xz |
93dc7f614289
Add vala to the package list
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
10 $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/$(PKG)/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE) |
93dc7f614289
Add vala to the package list
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
11 $(PKG)_DEPS := glib |
93dc7f614289
Add vala to the package list
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
12 |
93dc7f614289
Add vala to the package list
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
13 define $(PKG)_UPDATE |
4618
de2eedecd6ba
update broken PKG_UPDATE rules, handle missing update rules
John Donoghue
parents:
3480
diff
changeset
|
14 $(WGET) -q -O- 'https://github.com/GNOME/$(PKG)/tags' | \ |
de2eedecd6ba
update broken PKG_UPDATE rules, handle missing update rules
John Donoghue
parents:
3480
diff
changeset
|
15 $(SED) -n 's|.*releases/tag/\([^"]*\).*|\1|p' | \ |
de2eedecd6ba
update broken PKG_UPDATE rules, handle missing update rules
John Donoghue
parents:
3480
diff
changeset
|
16 $(SORT) -Vr | \ |
3133
93dc7f614289
Add vala to the package list
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
17 head -1 |
93dc7f614289
Add vala to the package list
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
18 endef |
93dc7f614289
Add vala to the package list
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
19 |
93dc7f614289
Add vala to the package list
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
20 define $(PKG)_BUILD |
93dc7f614289
Add vala to the package list
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
21 mkdir '$(1)/.build' |
93dc7f614289
Add vala to the package list
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
22 cd '$(1)/.build' && PKG_CONFIG_PATH='$(HOST_LIBDIR)/pkgconfig' '$(1)/configure' \ |
93dc7f614289
Add vala to the package list
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
23 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
93dc7f614289
Add vala to the package list
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
24 $(ENABLE_SHARED_OR_STATIC) \ |
93dc7f614289
Add vala to the package list
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
25 --prefix='$(HOST_PREFIX)' \ |
93dc7f614289
Add vala to the package list
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
26 && $(CONFIGURE_POST_HOOK) |
93dc7f614289
Add vala to the package list
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
27 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' |
93dc7f614289
Add vala to the package list
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
28 $(MAKE) -C '$(1)/.build' -j 1 install |
93dc7f614289
Add vala to the package list
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
29 endef |