Overlay/dev-lang/vala/vala-0.38.8.ebuild

44 lines
1.1 KiB
Bash
Raw Normal View History

2017-11-29 00:34:16 +03:00
# Copyright 1999-2017 Gentoo Foundation
2014-07-23 23:53:49 +04:00
# Distributed under the terms of the GNU General Public License v2
2017-02-08 17:20:15 +03:00
EAPI=6
2014-10-26 18:50:53 +03:00
inherit gnome2
2014-07-23 23:53:49 +04:00
DESCRIPTION="Compiler for the GObject type system"
2017-02-08 17:20:15 +03:00
HOMEPAGE="https://wiki.gnome.org/Projects/Vala"
2014-07-23 23:53:49 +04:00
LICENSE="LGPL-2.1"
2017-11-29 00:34:16 +03:00
SLOT="0.38"
2017-02-08 17:20:15 +03:00
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
2014-10-26 18:50:53 +03:00
IUSE="test"
2014-07-23 23:53:49 +04:00
RDEPEND="
2017-02-08 17:20:15 +03:00
>=dev-libs/glib-2.32:2
2014-07-23 23:53:49 +04:00
>=dev-libs/vala-common-${PV}
"
DEPEND="${RDEPEND}
!${CATEGORY}/${PN}:0
dev-libs/libxslt
sys-devel/flex
virtual/pkgconfig
virtual/yacc
test? (
dev-libs/dbus-glib
>=dev-libs/glib-2.26:2 )
2017-11-29 00:34:16 +03:00
>=media-gfx/graphviz-2.40.1
2014-07-23 23:53:49 +04:00
"
src_configure() {
2014-10-26 18:50:53 +03:00
gnome2_src_configure --disable-unversioned
2014-07-23 23:53:49 +04:00
}
2017-11-29 00:34:16 +03:00
src_install() {
emake DESTDIR="${D}" install
dosym /usr/bin/vala-"${SLOT}" /usr/bin/vala
dosym /usr/bin/vala-gen-introspect-"${SLOT}" /usr/bin/vala-gen-introspect
dosym /usr/bin/valac-"${SLOT}" /usr/bin/valac
dosym /usr/bin/valadoc-"${SLOT}" /usr/bin/valadoc
dosym /usr/bin/vapicheck-"${SLOT}" /usr/bin/vapicheck
dosym /usr/bin/vapigen-"${SLOT}" /usr/bin/vapigen
}