Mercurial > mxe-octave
comparison src/vala.mk @ 3133:93dc7f614289
Add vala to the package list
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Fri, 12 Jul 2013 20:18:43 -0400 |
parents | |
children | 13be64f9f16d |
comparison
equal
deleted
inserted
replaced
3132:2733829a184e | 3133:93dc7f614289 |
---|---|
1 # This file is part of MXE. | |
2 # See index.html for further information. | |
3 | |
4 PKG := vala | |
5 $(PKG)_IGNORE := | |
6 $(PKG)_CHECKSUM := 6a453140ccc252a3d46d110ab03da005885754f7 | |
7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) | |
8 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.xz | |
9 $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/$(PKG)/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE) | |
10 $(PKG)_DEPS := glib | |
11 | |
12 define $(PKG)_UPDATE | |
13 $(WGET) -q -O- 'http://git.gnome.org/browse/$(PKG)/refs/tags' | \ | |
14 $(SED) -n "s,.*tag/?id=\([0-9]\+\.[0-9]*[02468]\.[^']*\).*,\1,p" | \ | |
15 head -1 | |
16 endef | |
17 | |
18 define $(PKG)_BUILD | |
19 mkdir '$(1)/.build' | |
20 cd '$(1)/.build' && PKG_CONFIG_PATH='$(HOST_LIBDIR)/pkgconfig' '$(1)/configure' \ | |
21 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ | |
22 $(ENABLE_SHARED_OR_STATIC) \ | |
23 --prefix='$(HOST_PREFIX)' \ | |
24 && $(CONFIGURE_POST_HOOK) | |
25 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' | |
26 $(MAKE) -C '$(1)/.build' -j 1 install | |
27 endef |