void-packages/srcpkgs/vala/template
2014-03-27 09:20:26 +01:00

33 lines
856 B
Text

# Template file for 'vala'
pkgname=vala
version=0.24.0
revision=1
build_style=gnu-configure
configure_args="--enable-vapigen"
hostmakedepends="pkg-config flex libxslt"
makedepends="libglib-devel libfl-devel"
short_desc="Compiler for the GObject type system"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://live.gnome.org/Vala"
license="LGPL-2.1"
distfiles="${GNOME_SITE}/vala/${version%.*}/vala-${version}.tar.xz"
checksum=22a37c977512c19cd29c373eaaef96cb2c994795d491106f32387f3f9d1e899c
libvala_package() {
short_desc+=" - shared library"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
vala-devel_package() {
depends="libglib-devel vala>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/aclocal
vmove usr/share/devhelp
}
}