/[gentoo-x86]/dev-lang/vala/vala-0.16.1.ebuild
Gentoo

Contents of /dev-lang/vala/vala-0.16.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Jun 25 07:41:17 2012 UTC (10 months, 4 weeks ago) by tetromino
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Install Makefile.vapigen if USE=vapigen; some vala-based projects need it.

(Portage version: 2.2.0_alpha112/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-lang/vala/vala-0.16.1.ebuild,v 1.1 2012/06/25 03:55:38 tetromino Exp $
4
5 EAPI="4"
6 GCONF_DEBUG="no"
7 GNOME2_LA_PUNT="yes"
8
9 inherit alternatives gnome2
10
11 DESCRIPTION="Vala - Compiler for the GObject type system"
12 HOMEPAGE="http://live.gnome.org/Vala"
13
14 LICENSE="LGPL-2.1"
15 SLOT="0.16"
16 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-linux"
17 IUSE="test +vapigen"
18
19 RDEPEND=">=dev-libs/glib-2.16:2"
20 DEPEND="${RDEPEND}
21 !${CATEGORY}/${PN}:0
22 sys-devel/flex
23 || ( sys-devel/bison dev-util/byacc dev-util/yacc )
24 virtual/pkgconfig
25 dev-libs/libxslt
26 test? (
27 dev-libs/dbus-glib
28 >=dev-libs/glib-2.26:2 )"
29
30 pkg_setup() {
31 G2CONF="${G2CONF}
32 --disable-unversioned
33 $(use_enable vapigen)"
34 DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README"
35 }
36
37 src_install() {
38 gnome2_src_install
39
40 insinto /usr/share/aclocal
41 newins vala.m4 vala-${SLOT/./-}.m4
42 }
43
44 pkg_postinst() {
45 gnome2_pkg_postinst
46 alternatives_auto_makesym /usr/share/aclocal/vala.m4 "vala-0-[0-9][0-9].m4"
47 }
48
49 pkg_postrm() {
50 gnome2_pkg_postrm
51 alternatives_auto_makesym /usr/share/aclocal/vala.m4 "vala-0-[0-9][0-9].m4"
52 }

  ViewVC Help
Powered by ViewVC 1.1.13