summaryrefslogtreecommitdiff
path: root/package/vala
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2011-10-15 00:07:29 -0300
committerPeter Korsgaard <jacmet@sunsite.dk>2011-10-15 23:16:45 +0200
commit491be12ca5237e3f0febc7c468dcd4b8760c9589 (patch)
tree492b91890f495345aba5c862448d1095f5f0a2c4 /package/vala
parenta0739590154345f9db9627e3e6f669e7902b4bbd (diff)
vala: new package
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/vala')
-rw-r--r--package/vala/Config.in14
-rw-r--r--package/vala/vala.mk15
2 files changed, 29 insertions, 0 deletions
diff --git a/package/vala/Config.in b/package/vala/Config.in
new file mode 100644
index 000000000..89b445933
--- /dev/null
+++ b/package/vala/Config.in
@@ -0,0 +1,14 @@
+config BR2_PACKAGE_VALA
+ bool "vala"
+ depends on BR2_USE_WCHAR # glib2
+ select BR2_PACKAGE_LIBGLIB2
+ select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
+ select BR2_PACKAGE_LIBINTL if BR2_NEEDS_GETTEXT_IF_LOCALE
+ select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
+ help
+ Compiler for the GObject type system.
+
+ http://live.gnome.org/Vala
+
+comment "vala requires a toolchain with WCHAR support"
+ depends on !BR2_USE_WCHAR
diff --git a/package/vala/vala.mk b/package/vala/vala.mk
new file mode 100644
index 000000000..b1217cbee
--- /dev/null
+++ b/package/vala/vala.mk
@@ -0,0 +1,15 @@
+#############################################################
+#
+# vala
+#
+#############################################################
+
+VALA_VERSION = 0.12.1
+VALA_SITE = http://download.gnome.org/sources/vala/0.12
+VALA_SOURCE = vala-$(VALA_VERSION).tar.bz2
+VALA_DEPENDENCIES = host-flex libglib2 \
+ $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext libintl)
+HOST_VALA_DEPENDENCIES = host-flex host-libglib2
+
+$(eval $(call AUTOTARGETS))
+$(eval $(call AUTOTARGETS,host))