48 lines
1.2 KiB
Plaintext
48 lines
1.2 KiB
Plaintext
# Template file for 'vala'
|
|
pkgname=vala
|
|
version=0.21.1
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-vapigen"
|
|
hostmakedepends="pkg-config flex libxslt"
|
|
makedepends="libglib-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=7e63969340a5cb2cf7a80cec6dc264278efdde435643150e054033c59517d4fc
|
|
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."
|
|
|
|
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
|
|
}
|
|
}
|