board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / vala / vala.mk
blob70dc4b9183dfd7cb4fcd6d568b4bf7fb61a75192
1 ################################################################################
3 # vala
5 ################################################################################
7 VALA_VERSION_MAJOR = 0.34
8 VALA_VERSION = $(VALA_VERSION_MAJOR).7
9 VALA_SITE = http://download.gnome.org/sources/vala/$(VALA_VERSION_MAJOR)
10 VALA_SOURCE = vala-$(VALA_VERSION).tar.xz
11 VALA_LICENSE = LGPLv2.1+
12 VALA_LICENSE_FILES = COPYING
14 HOST_VALA_DEPENDENCIES = host-bison host-flex host-libglib2
15 # Yes, the autoconf script understands ':' as "xsltproc is not
16 # available".
17 HOST_VALA_CONF_ENV = ac_cv_path_XSLTPROC=:
19 # We wrap vala & valac to point to the proper gir and vapi data dirs
20 # Otherwise we'll get host directory data which isn't enough
21 define HOST_VALA_INSTALL_WRAPPER
22 $(INSTALL) -D -m 0755 package/vala/vala-wrapper \
23 $(HOST_DIR)/usr/bin/vala
24 $(INSTALL) -D -m 0755 package/vala/vala-wrapper \
25 $(HOST_DIR)/usr/bin/valac
26 $(SED) 's,@VALA_VERSION@,$(VALA_VERSION_MAJOR),' \
27 $(HOST_DIR)/usr/bin/vala \
28 $(HOST_DIR)/usr/bin/valac
29 endef
30 HOST_VALA_POST_INSTALL_HOOKS += HOST_VALA_INSTALL_WRAPPER
32 $(eval $(host-autotools-package))