diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2008-05-01 00:06:16 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2008-05-01 00:06:16 +0000 |
commit | 13845b80981e9d316743363bc0542c8d832b17c5 (patch) | |
tree | 541d39fd03cb18116ea33253fe6003e4c5eecc80 /dev-libs/libcoyotl/libcoyotl-3.1.0.ebuild | |
parent | Fix building with gcc-4.3 (diff) | |
download | gentoo-2-13845b80981e9d316743363bc0542c8d832b17c5.tar.gz gentoo-2-13845b80981e9d316743363bc0542c8d832b17c5.tar.bz2 gentoo-2-13845b80981e9d316743363bc0542c8d832b17c5.zip |
Added fix for gcc-4.3 (bug #214176, thanks to Peter Alfredsen and Debian), added doc USE-flag to make doc-generation less magical.
(Portage version: 2.1.5_rc6)
Diffstat (limited to 'dev-libs/libcoyotl/libcoyotl-3.1.0.ebuild')
-rw-r--r-- | dev-libs/libcoyotl/libcoyotl-3.1.0.ebuild | 34 |
1 files changed, 28 insertions, 6 deletions
diff --git a/dev-libs/libcoyotl/libcoyotl-3.1.0.ebuild b/dev-libs/libcoyotl/libcoyotl-3.1.0.ebuild index a582cd24c966..7dcbaef30a11 100644 --- a/dev-libs/libcoyotl/libcoyotl-3.1.0.ebuild +++ b/dev-libs/libcoyotl/libcoyotl-3.1.0.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcoyotl/libcoyotl-3.1.0.ebuild,v 1.1 2005/12/18 23:19:31 halcy0n Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcoyotl/libcoyotl-3.1.0.ebuild,v 1.2 2008/05/01 00:06:15 dev-zero Exp $ + +inherit eutils DESCRIPTION="A collection of portable C++ classes." HOMEPAGE="http://www.coyotegulch.com/products/libcoyotl/" @@ -8,10 +10,30 @@ SRC_URI="http://www.coyotegulch.com/distfiles/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" -IUSE="" -DEPEND="media-libs/libpng" +IUSE="doc" + +RDEPEND="media-libs/libpng" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${PV}-gcc-4.3.patch" +} + +src_compile() { + ac_cv_prog_HAVE_DOXYGEN="false" econf || die "econf failed" + emake || die "emake failed" + + if use doc ; then + cd docs + doxygen libcoyotl.doxygen || die "generating docs failed" + fi +} src_install() { - make DESTDIR="${D}" install - dodoc ChangeLog NEWS README + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog NEWS README + dohtml docs/html/* } |