void-packages/srcpkgs/atk/template

42 lines
1 KiB
Text
Raw Normal View History

# Template build file for 'atk'.
pkgname=atk
2014-09-22 15:46:51 +00:00
version=2.14.0
2014-03-27 07:37:01 +00:00
revision=1
2012-09-25 02:52:49 +00:00
build_style=gnu-configure
2014-03-27 07:37:01 +00:00
hostmakedepends="pkg-config glib-devel"
makedepends="libglib-devel"
short_desc="Set of interfaces for accessibility"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-06-14 13:32:18 +00:00
homepage="http://www.gtk.org/"
license="LGPL-2.1"
2013-03-28 05:53:45 +00:00
distfiles="${GNOME_SITE}/atk/${version%.*}/atk-${version}.tar.xz"
2014-09-22 15:46:51 +00:00
checksum=2875cc0b32bfb173c066c22a337f79793e0c99d2cc5e81c4dac0d5a523b8fbad
# Package build options
build_options="gir"
# Disable gir for cross builds.
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
if [ "$build_option_gir" ]; then
configure_args+=" --enable-introspection"
makedepends+=" gobject-introspection"
else
configure_args+=" --disable-introspection"
fi
atk-devel_package() {
2014-03-27 07:37:01 +00:00
depends="libglib-devel>=2.38 atk>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
if [ "$build_option_gir" ]; then
vmove "usr/share/gir-*"
fi
vmove usr/share/gtk-doc
}
}