void-packages/srcpkgs/vala/template

33 lines
855 B
Bash
Raw Normal View History

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