void-packages/srcpkgs/anjuta/template
2015-01-13 14:23:18 +01:00

43 lines
1.3 KiB
Text

# Template file for 'anjuta'
pkgname=anjuta
version=3.14.0
revision=1
build_style=gnu-configure
build_options="gir"
configure_args="$(vopt_enable gir introspection)"
short_desc="GNOME Integrated Development Environment"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="https://projects.gnome.org/anjuta"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=b1aac2d4c35891b23c9bc3f168bf2845e02d0a438742478c98e450950d82b5e5
hostmakedepends="pkg-config intltool flex itstool python autogen glib-devel
$(vopt_if gir gobject-introspection)"
makedepends="
gtksourceview-devel>=3.14 libxml2-devel vte3-devel gjs-devel>=1.40
libxslt-devel glade3-devel>=3.16 graphviz-devel vala-devel>=0.26
libgda-devel devhelp-devel>=3.12 sqlite-devel apr-util-devel
neon-devel subversion-devel python-devel gdl-devel>=3.14"
depends="autogen"
# Disable gir for cross builds.
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
anjuta-devel_package() {
replaces="anjuta-docs>=0"
short_desc+=" - development files"
depends="anjuta>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
vmove "usr/lib/*.so"
vmove usr/share/doc
vmove usr/share/gtk-doc
}
}