2010-12-16 16:10:17 +00:00
|
|
|
# Template file for 'vala'
|
|
|
|
pkgname=vala
|
2013-04-08 16:04:10 +00:00
|
|
|
version=0.20.1
|
2012-06-24 17:26:06 +00:00
|
|
|
revision=1
|
2011-10-24 12:14:47 +00:00
|
|
|
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-04-13 11:29:34 +00:00
|
|
|
makedepends="libglib-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"
|
2013-04-08 16:04:10 +00:00
|
|
|
checksum=9cb7ecd18a23525e401c204d4d08341c7d911cd5d78078eee10b747ecb45e481
|
2010-12-16 16:10:17 +00:00
|
|
|
long_desc="
|
|
|
|
Vala is a new programming language that aims to bring modern programming
|
|
|
|
language features to GNOME developers without imposing any additional runtime
|
|
|
|
requirements and without using a different ABI compared to applications and
|
|
|
|
libraries written in C."
|
2013-04-13 11:29:34 +00:00
|
|
|
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
makedepends+=" libfl-devel"
|
|
|
|
fi
|
|
|
|
|
|
|
|
libvala_package() {
|
|
|
|
short_desc="${short_desc} - shared library"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/*.so*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
vala-devel_package() {
|
|
|
|
depends="libglib-devel vala>=${version}"
|
|
|
|
short_desc="${short_desc} - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share/aclocal
|
|
|
|
vmove usr/share/devhelp
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
vala_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|