void-packages/srcpkgs/vala/template

34 lines
856 B
Plaintext
Raw Normal View History

2010-12-16 17:10:17 +01:00
# Template file for 'vala'
pkgname=vala
2013-11-13 15:16:19 +01:00
version=0.22.1
2014-02-16 11:24:28 +01:00
revision=2
build_style=gnu-configure
2010-12-16 17:10:17 +01:00
configure_args="--enable-vapigen"
2013-03-28 07:52:38 +01:00
hostmakedepends="pkg-config flex libxslt"
2013-09-25 10:17:12 +02:00
makedepends="libglib-devel libfl-devel"
2010-12-16 17:10:17 +01:00
short_desc="Compiler for the GObject type system"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-06-02 08:56:30 +02:00
homepage="http://live.gnome.org/Vala"
license="LGPL-2.1"
2013-03-28 07:52:38 +01:00
distfiles="${GNOME_SITE}/vala/${version%.*}/vala-${version}.tar.xz"
2013-11-13 15:16:19 +01:00
checksum=92c61b94a427f281ba2537b69135a3be23248b153268057d7195003dd6aba28c
libvala_package() {
2013-09-25 10:17:12 +02:00
short_desc+=" - shared library"
pkg_install() {
2013-09-25 10:17:12 +02:00
vmove "usr/lib/*.so.*"
}
}
vala-devel_package() {
2014-02-16 11:24:28 +01:00
depends="libglib-devel vala>=${version}_${revision}"
2013-09-25 10:17:12 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2013-09-25 10:17:12 +02:00
vmove "usr/lib/*.so"
vmove usr/share/aclocal
vmove usr/share/devhelp
}
}