summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-libs/id3lib/ChangeLog7
-rw-r--r--media-libs/id3lib/id3lib-3.8.3-r2.ebuild16
2 files changed, 16 insertions, 7 deletions
diff --git a/media-libs/id3lib/ChangeLog b/media-libs/id3lib/ChangeLog
index 78c544ccb115..609264d3644b 100644
--- a/media-libs/id3lib/ChangeLog
+++ b/media-libs/id3lib/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/id3lib
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/id3lib/ChangeLog,v 1.24 2004/07/11 20:32:00 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/id3lib/ChangeLog,v 1.25 2004/07/21 01:01:56 eradicator Exp $
+
+ 20 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
+ id3lib-3.8.3-r2.ebuild:
+ Fix ebuild installing extra stuff into the docs dir. Added IUSE=doc option for
+ example files. Closes bug #56922.
11 Jul 2004; Bryan Østergaard,,, <kloeri@gentoo.org> id3lib-3.8.3-r2.ebuild:
Stable on alpha, requested in bug 56498.
diff --git a/media-libs/id3lib/id3lib-3.8.3-r2.ebuild b/media-libs/id3lib/id3lib-3.8.3-r2.ebuild
index 594dce2bb505..5ae37ad64795 100644
--- a/media-libs/id3lib/id3lib-3.8.3-r2.ebuild
+++ b/media-libs/id3lib/id3lib-3.8.3-r2.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/id3lib/id3lib-3.8.3-r2.ebuild,v 1.2 2004/07/11 20:32:01 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/id3lib/id3lib-3.8.3-r2.ebuild,v 1.3 2004/07/21 01:01:56 eradicator Exp $
+
+IUSE="doc"
MY_P=${P/_/}
S=${WORKDIR}/${MY_P}
@@ -12,8 +14,6 @@ SLOT="0"
LICENSE="LGPL-2.1"
KEYWORDS="x86 ~ppc sparc alpha ~hppa amd64 ~ia64 ~mips"
-IUSE=""
-
RDEPEND="virtual/libc"
DEPEND="sys-devel/autoconf
@@ -45,7 +45,11 @@ src_install() {
dosym /usr/lib/libid3-3.8.so.0.0.0 /usr/lib/libid3-3.8.so.0
dodoc AUTHORS COPYING ChangeLog HISTORY INSTALL README THANKS TODO
-# some example programs to be placed in docs dir.
- make clean
- cp -a examples ${D}/usr/share/doc/${PF}/examples
+
+ # some example programs to be placed in docs dir.
+ if use doc; then
+ cp -a examples ${D}/usr/share/doc/${PF}/examples
+ cd ${D}/usr/share/doc/${PF}/examples
+ make distclean
+ fi
}