summaryrefslogtreecommitdiff
path: root/packages/vala
diff options
context:
space:
mode:
Diffstat (limited to 'packages/vala')
-rw-r--r--packages/vala/vala-native_0.4.0.bb6
-rw-r--r--packages/vala/vala.inc15
-rw-r--r--packages/vala/vala_0.3.5.bb15
-rw-r--r--packages/vala/vala_0.4.0.bb4
4 files changed, 27 insertions, 13 deletions
diff --git a/packages/vala/vala-native_0.4.0.bb b/packages/vala/vala-native_0.4.0.bb
new file mode 100644
index 0000000000..13ed6ad275
--- /dev/null
+++ b/packages/vala/vala-native_0.4.0.bb
@@ -0,0 +1,6 @@
+require vala_${PV}.bb
+
+inherit native
+DEPENDS = "glib-2.0-native"
+
+
diff --git a/packages/vala/vala.inc b/packages/vala/vala.inc
new file mode 100644
index 0000000000..d12b70ef12
--- /dev/null
+++ b/packages/vala/vala.inc
@@ -0,0 +1,15 @@
+DESCRIPTION = "Vala is a C#-like language dedicated to ease GObject programming. Vala compiles to C"
+SECTION = "devel"
+DEPENDS = "glib-2.0"
+HOMEPAGE = "http://live.gnome.org/Vala"
+LICENSE = "LGPL"
+
+S = "${WORKDIR}/vala-${PV}"
+
+inherit autotools lib_package
+
+do_stage() {
+ autotools_stage_all
+}
+
+FILES_${PN}-doc += ${datadir}/devhelp
diff --git a/packages/vala/vala_0.3.5.bb b/packages/vala/vala_0.3.5.bb
index 9b027f1baa..61d736ae98 100644
--- a/packages/vala/vala_0.3.5.bb
+++ b/packages/vala/vala_0.3.5.bb
@@ -1,16 +1,5 @@
-DESCRIPTION = "Vala is a C#-like language dedicated to ease GObject programming. Vala compiles to C"
-SECTION = "devel"
-DEPENDS = "glib-2.0"
-HOMEPAGE = "http://live.gnome.org/Vala"
-LICENSE = "LGPL"
-SRC_URI = "http://download.gnome.org/sources/vala/0.3/vala-${PV}.tar.bz2"
-S = "${WORKDIR}/vala-${PV}"
-
-inherit autotools lib_package
+require vala.inc
-do_stage() {
- autotools_stage_all
-}
+SRC_URI = "http://download.gnome.org/sources/vala/0.3/vala-${PV}.tar.bz2"
-FILES_${PN}-doc += ${datadir}/devhelp
diff --git a/packages/vala/vala_0.4.0.bb b/packages/vala/vala_0.4.0.bb
new file mode 100644
index 0000000000..4104fd1718
--- /dev/null
+++ b/packages/vala/vala_0.4.0.bb
@@ -0,0 +1,4 @@
+require vala.inc
+
+SRC_URI = "http://download.gnome.org/sources/vala/0.4/vala-${PV}.tar.bz2"
+