Mercurial > mxe-octave
annotate src/vala.mk @ 3775:7f250bf4c472
postgresql: update to v9.4.0
* src/postgresql.mk: update version,checksum, install common and extra includes.
* src/postgresql-1-fixes.patch: removed
* dist-files.mk: remove postgresql-1-fixes.patch
author | John Donoghue |
---|---|
date | Fri, 23 Jan 2015 10:03:25 -0500 |
parents | 13be64f9f16d |
children | de2eedecd6ba |
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 |
93dc7f614289
Add vala to the package list
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
14 $(WGET) -q -O- 'http://git.gnome.org/browse/$(PKG)/refs/tags' | \ |
93dc7f614289
Add vala to the package list
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
15 $(SED) -n "s,.*tag/?id=\([0-9]\+\.[0-9]*[02468]\.[^']*\).*,\1,p" | \ |
93dc7f614289
Add vala to the package list
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
16 head -1 |
93dc7f614289
Add vala to the package list
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
17 endef |
93dc7f614289
Add vala to the package list
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
18 |
93dc7f614289
Add vala to the package list
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
19 define $(PKG)_BUILD |
93dc7f614289
Add vala to the package list
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
20 mkdir '$(1)/.build' |
93dc7f614289
Add vala to the package list
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
21 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
|
22 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
93dc7f614289
Add vala to the package list
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
23 $(ENABLE_SHARED_OR_STATIC) \ |
93dc7f614289
Add vala to the package list
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
24 --prefix='$(HOST_PREFIX)' \ |
93dc7f614289
Add vala to the package list
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
25 && $(CONFIGURE_POST_HOOK) |
93dc7f614289
Add vala to the package list
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
26 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' |
93dc7f614289
Add vala to the package list
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
27 $(MAKE) -C '$(1)/.build' -j 1 install |
93dc7f614289
Add vala to the package list
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
28 endef |