void-packages/srcpkgs/vala/template
2017-10-15 08:24:59 -02:00

35 lines
892 B
Bash

# Template file for 'vala'
pkgname=vala
version=0.38.2
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config flex libxslt automake libtool"
makedepends="libglib-devel libfl-devel graphviz-devel"
short_desc="Compiler for the GObject type system"
maintainer="Enno Boland <gottox@voidlinux.eu>"
homepage="http://live.gnome.org/Vala"
license="LGPL-2.1"
distfiles="${GNOME_SITE}/vala/${version%.*}/vala-${version}.tar.xz"
checksum=20d5d9c4fbd17877969dbce27e6428da67138e116b1717cc07b5b75fd6ab78a7
pre_configure() {
autoreconf -fi
}
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
}
}