diff options
author | Rémi Cardona <remi@gentoo.org> | 2008-07-10 14:36:35 +0000 |
---|---|---|
committer | Rémi Cardona <remi@gentoo.org> | 2008-07-10 14:36:35 +0000 |
commit | a5c1052f65311d098bda42c0e294be41218489f9 (patch) | |
tree | 3accb142660a21ead0042b59712c36bdc02f7465 /dev-cpp | |
parent | stable ppc64, bug 229835 (diff) | |
download | gentoo-2-a5c1052f65311d098bda42c0e294be41218489f9.tar.gz gentoo-2-a5c1052f65311d098bda42c0e294be41218489f9.tar.bz2 gentoo-2-a5c1052f65311d098bda42c0e294be41218489f9.zip |
dev-cpp/cairomm: don't build examples and tests (see ebuild for reasons why)
(Portage version: 2.2_rc1/cvs/Linux 2.6.25-gentoo-r6 x86_64)
Diffstat (limited to 'dev-cpp')
-rw-r--r-- | dev-cpp/cairomm/ChangeLog | 5 | ||||
-rw-r--r-- | dev-cpp/cairomm/cairomm-1.6.0.ebuild | 19 |
2 files changed, 13 insertions, 11 deletions
diff --git a/dev-cpp/cairomm/ChangeLog b/dev-cpp/cairomm/ChangeLog index a166bc5650d0..ff601b5292a8 100644 --- a/dev-cpp/cairomm/ChangeLog +++ b/dev-cpp/cairomm/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-cpp/cairomm # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/cairomm/ChangeLog,v 1.25 2008/06/10 14:40:41 remi Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/cairomm/ChangeLog,v 1.26 2008/07/10 14:36:35 remi Exp $ + + 10 Jul 2008; Rémi Cardona <remi@gentoo.org> cairomm-1.6.0.ebuild: + don't build examples and tests (see ebuild for reasons why) *cairomm-1.6.0 (10 Jun 2008) diff --git a/dev-cpp/cairomm/cairomm-1.6.0.ebuild b/dev-cpp/cairomm/cairomm-1.6.0.ebuild index 7d6dd4e5691d..b304cc11c3c7 100644 --- a/dev-cpp/cairomm/cairomm-1.6.0.ebuild +++ b/dev-cpp/cairomm/cairomm-1.6.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/cairomm/cairomm-1.6.0.ebuild,v 1.1 2008/06/10 14:40:41 remi Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/cairomm/cairomm-1.6.0.ebuild,v 1.2 2008/07/10 14:36:35 remi Exp $ inherit eutils @@ -11,7 +11,7 @@ SRC_URI="http://cairographics.org/releases/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" -IUSE="doc examples" +IUSE="doc" RDEPEND=">=x11-libs/cairo-1.5.14" DEPEND="${RDEPEND} @@ -21,10 +21,12 @@ src_unpack() { unpack ${A} cd "${S}" - if ! use examples; then - # don't waste time building the examples - sed -i 's/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/' Makefile.in || die "sed failed" - fi + # don't waste time building examples because they are marked as "noinst" + sed -i 's/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/' Makefile.in || die "sed failed" + + # don't waste time building tests + # they require the boost Unit Testing framework, that's not in base boost + sed -i 's/^\(SUBDIRS =.*\)tests\(.*\)$/\1\2/' Makefile.in || die "sed failed" } src_compile() { @@ -34,8 +36,5 @@ src_compile() { src_install() { emake DESTDIR="${D}" install || die "emake install failed" - - if use examples; then - dodoc examples - fi + dodoc README ChangeLog } |