aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/vala/vala.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/vala/vala.inc')
-rw-r--r--recipes/vala/vala.inc20
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes/vala/vala.inc b/recipes/vala/vala.inc
new file mode 100644
index 0000000000..f5ea1ee520
--- /dev/null
+++ b/recipes/vala/vala.inc
@@ -0,0 +1,20 @@
+DESCRIPTION = "Vala is a C#-like language dedicated to ease GObject programming. \
+Vala compiles to plain C and has no runtime environment nor penality whatsoever."
+SECTION = "devel"
+DEPENDS = "glib-2.0 dbus"
+HOMEPAGE = "http://live.gnome.org/Vala"
+LICENSE = "LGPL"
+
+MAJV = "${@bb.data.getVar('PV',d,1)[:3]}"
+
+SRC_URI = "\
+ http://download.gnome.org/sources/vala/${MAJV}/vala-${PV}.tar.bz2 \
+ file://static-dbus-methods.patch;patch=1 \
+"
+S = "${WORKDIR}/vala-${PV}"
+
+inherit autotools autotools_stage lib_package
+
+EXTRA_OECONF = "--enable-vapigen"
+
+FILES_${PN}-doc += ${datadir}/devhelp