vala: new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Gustavo Zacarias 2011-10-15 00:07:29 -03:00 committed by Peter Korsgaard
parent a073959015
commit 491be12ca5
3 changed files with 30 additions and 0 deletions

View File

@ -144,6 +144,7 @@ source "package/rdesktop/Config.in"
source "package/sylpheed/Config.in"
source "package/synergy/Config.in"
source "package/torsmo/Config.in"
source "package/vala/Config.in"
source "package/x11vnc/Config.in"
source "package/xstroke/Config.in"
source "package/xterm/Config.in"

14
package/vala/Config.in Normal file
View File

@ -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

15
package/vala/vala.mk Normal file
View File

@ -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))