void-packages/srcpkgs/anjuta/template

44 lines
1.2 KiB
Bash
Raw Normal View History

2013-07-28 07:52:31 +02:00
# Template file for 'anjuta'
pkgname=anjuta
2015-01-25 10:03:27 +01:00
version=3.14.1
2014-03-27 18:04:26 +01:00
revision=1
2013-07-28 07:52:31 +02:00
build_style=gnu-configure
2015-01-13 14:23:18 +01:00
build_options="gir"
configure_args="$(vopt_enable gir introspection)"
2013-07-28 07:52:31 +02:00
short_desc="GNOME Integrated Development Environment"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2013-07-28 07:52:31 +02:00
license="GPL-2"
homepage="https://projects.gnome.org/anjuta"
2013-09-26 23:35:54 +02:00
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
2015-01-25 10:03:27 +01:00
checksum=b26cd75ddb603c3cca4348e277d17360e511d75bd77ee2ef52047b75408e617b
2013-07-28 07:52:31 +02:00
2015-01-13 14:23:18 +01:00
hostmakedepends="pkg-config intltool flex itstool python autogen glib-devel
$(vopt_if gir gobject-introspection)"
makedepends="
gtksourceview-devel libxml2-devel vte3-devel gjs-devel
libxslt-devel glade3-devel graphviz-devel vala-devel
libgda-devel devhelp-devel sqlite-devel apr-util-devel
neon-devel subversion-devel python-devel gdl-devel"
depends="autogen"
2013-07-28 07:52:31 +02:00
# Disable gir for cross builds.
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
2013-07-28 07:52:31 +02:00
anjuta-devel_package() {
2015-01-13 14:23:18 +01:00
replaces="anjuta-docs>=0"
short_desc+=" - development files"
depends="anjuta>=${version}_${revision}"
2013-07-28 07:52:31 +02:00
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
2013-09-26 23:35:54 +02:00
vmove "usr/lib/*.so"
2013-07-28 07:52:31 +02:00
vmove usr/share/doc
vmove usr/share/gtk-doc
}
}