summaryrefslogtreecommitdiff
path: root/packages/vala/vala.inc
blob: 492bf0f1f272fc0ba179df6c0412d8e438b34e02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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"

do_compile_prepend() {
	touch gobject/gobject.vala.stamp
}

FILES_${PN}-doc += ${datadir}/devhelp