Lines 1-21
Link Here
|
1 |
# Copyright 1999-2008 Gentoo Foundation |
1 |
# Copyright 1999-2010 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gtksourceviewmm/gtksourceviewmm-2.2.0.ebuild,v 1.6 2008/09/30 17:25:36 jer Exp $ |
3 |
# $Header: $ |
|
|
4 |
|
5 |
EAPI="2" |
4 |
|
6 |
|
5 |
inherit gnome2 |
7 |
inherit gnome2 |
6 |
|
8 |
|
7 |
DESCRIPTION="C++ bindings for gtksourceview" |
9 |
DESCRIPTION="C++ bindings for gtksourceview" |
8 |
HOMEPAGE="http://home.gna.org/gtksourceviewmm/" |
10 |
HOMEPAGE="http://projects.gnome.org/gtksourceviewmm/" |
9 |
|
11 |
|
10 |
KEYWORDS="amd64 hppa ppc x86" |
12 |
LICENSE="LGPL-2.1" |
11 |
IUSE="doc" |
|
|
12 |
SLOT="2.0" |
13 |
SLOT="2.0" |
13 |
LICENSE="LGPL-2" |
14 |
KEYWORDS="~amd64 ~hppa ~ppc ~x86" |
14 |
|
15 |
IUSE="doc" |
15 |
RDEPEND=">=dev-cpp/gtkmm-2.4 |
|
|
16 |
>=x11-libs/gtksourceview-2.1.0 |
17 |
!>=dev-cpp/libgtksourceviewmm-1" |
18 |
|
16 |
|
|
|
17 |
RDEPEND=">=dev-cpp/gtkmm-2.12 |
18 |
>=x11-libs/gtksourceview-2.9.7" |
19 |
DEPEND="${RDEPEND} |
19 |
DEPEND="${RDEPEND} |
20 |
dev-util/pkgconfig |
20 |
dev-util/pkgconfig |
21 |
doc? ( app-doc/doxygen )" |
21 |
doc? ( app-doc/doxygen )" |
Lines 24-35
Link Here
|
24 |
|
24 |
|
25 |
G2CONF="${G2CONF} $(use_enable doc docs)" |
25 |
G2CONF="${G2CONF} $(use_enable doc docs)" |
26 |
|
26 |
|
27 |
src_unpack() { |
27 |
src_prepare() { |
28 |
gnome2_src_unpack |
|
|
29 |
|
30 |
# Remove docs from SUBDIRS so that docs are not installed, as |
28 |
# Remove docs from SUBDIRS so that docs are not installed, as |
31 |
# we handle it in src_install. |
29 |
# we handle it in src_install. |
32 |
sed -i -e 's|^\(SUBDIRS =.*\)docs\(.*\)|\1\2|' Makefile.in || \ |
30 |
sed -i -e 's|^\(SUBDIRS =.*\)$(doc_subdirs)\(.*\)|\1\2|' Makefile.in || \ |
33 |
die "sed Makefile.in failed" |
31 |
die "sed Makefile.in failed" |
34 |
} |
32 |
} |
35 |
|
33 |
|