summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Briesenick <sbriesen@gentoo.org>2006-03-03 13:39:32 +0000
committerStefan Briesenick <sbriesen@gentoo.org>2006-03-03 13:39:32 +0000
commit4cbfd17782092685300ed4add0397e73b7658bc0 (patch)
tree1151f6c51c18a595252629344168bc7e8df3c3c3 /dev-python/pyao/pyao-0.82.ebuild
parentfix liboil deps fixes bug #124727 (diff)
downloadgentoo-2-4cbfd17782092685300ed4add0397e73b7658bc0.tar.gz
gentoo-2-4cbfd17782092685300ed4add0397e73b7658bc0.tar.bz2
gentoo-2-4cbfd17782092685300ed4add0397e73b7658bc0.zip
added 'examples' USE flag.
(Portage version: 2.1_pre5-r1)
Diffstat (limited to 'dev-python/pyao/pyao-0.82.ebuild')
-rw-r--r--dev-python/pyao/pyao-0.82.ebuild13
1 files changed, 10 insertions, 3 deletions
diff --git a/dev-python/pyao/pyao-0.82.ebuild b/dev-python/pyao/pyao-0.82.ebuild
index 8c7cd596695c..a30c4fae13fc 100644
--- a/dev-python/pyao/pyao-0.82.ebuild
+++ b/dev-python/pyao/pyao-0.82.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyao/pyao-0.82.ebuild,v 1.5 2004/07/06 07:59:15 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyao/pyao-0.82.ebuild,v 1.6 2006/03/03 13:38:01 sbriesen Exp $
inherit distutils
@@ -8,10 +8,10 @@ DESCRIPTION="Python bindings for the libao library"
HOMEPAGE="http://www.andrewchatham.com/pyogg/"
SRC_URI="http://www.andrewchatham.com/pyogg/download/${P}.tar.gz"
-IUSE=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ~ppc -amd64 -sparc"
+IUSE="examples"
DEPEND="virtual/python
>=media-libs/libao-0.8.3"
@@ -21,3 +21,10 @@ src_compile() {
distutils_src_compile
}
+src_install() {
+ distutils_src_install
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins test.py
+ fi
+}