summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2007-07-27 14:53:52 +0000
committerSamuli Suominen <drac@gentoo.org>2007-07-27 14:53:52 +0000
commit9bddf12e73f2733498afd9d89324bacaa96c587d (patch)
tree049808fea6f597042611d768720d925c17870376 /media-sound
parentStable for HPPA too. (diff)
downloadgentoo-2-9bddf12e73f2733498afd9d89324bacaa96c587d.tar.gz
gentoo-2-9bddf12e73f2733498afd9d89324bacaa96c587d.tar.bz2
gentoo-2-9bddf12e73f2733498afd9d89324bacaa96c587d.zip
Add USE examples.
(Portage version: 2.1.3_rc9)
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/gom/ChangeLog5
-rw-r--r--media-sound/gom/gom-0.29.103-r1.ebuild19
2 files changed, 15 insertions, 9 deletions
diff --git a/media-sound/gom/ChangeLog b/media-sound/gom/ChangeLog
index 7df60ea5ab33..a0c005a02677 100644
--- a/media-sound/gom/ChangeLog
+++ b/media-sound/gom/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-sound/gom
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/gom/ChangeLog,v 1.10 2007/07/27 14:46:59 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/gom/ChangeLog,v 1.11 2007/07/27 14:53:52 drac Exp $
+
+ 27 Jul 2007; Samuli Suominen <drac@gentoo.org> gom-0.29.103-r1.ebuild:
+ Add USE examples.
27 Jul 2007; Samuli Suominen <drac@gentoo.org> gom-0.29.103-r1.ebuild:
Fix digest, and clean up ebuild.
diff --git a/media-sound/gom/gom-0.29.103-r1.ebuild b/media-sound/gom/gom-0.29.103-r1.ebuild
index 5305a49539dd..4163de32d90f 100644
--- a/media-sound/gom/gom-0.29.103-r1.ebuild
+++ b/media-sound/gom/gom-0.29.103-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/gom/gom-0.29.103-r1.ebuild,v 1.17 2007/07/27 14:46:59 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/gom/gom-0.29.103-r1.ebuild,v 1.18 2007/07/27 14:53:52 drac Exp $
inherit toolchain-funcs
@@ -11,7 +11,7 @@ SRC_URI="http://www.Fh-Worms.DE./~inf222/code/c/gom/released/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="amd64 ~ppc sparc x86"
-IUSE=""
+IUSE="examples"
DEPEND=">=sys-libs/ncurses-5.2"
@@ -23,10 +23,13 @@ src_compile() {
src_install () {
emake DESTDIR="${D}" install || die "emake install failed."
dodoc AUTHORS NEWS ChangeLog README
- docinto examples
- dodoc README
- docinto examples/default
- dodoc examples/default/*
- docinto examples/two-mixers
- dodoc examples/two-mixers/*
+
+ if use examples; then
+ docinto examples
+ dodoc README
+ docinto examples/default
+ dodoc examples/default/*
+ docinto examples/two-mixers
+ dodoc examples/two-mixers/*
+ fi
}