# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-video/vcdimager/vcdimager-0.7.20-r1.ebuild,v 1.1 2004/07/15 13:30:54 mholzer Exp $ inherit eutils libtool DESCRIPTION="GNU VCDimager" HOMEPAGE="http://www.vcdimager.org/" SRC_URI="http://www.vcdimager.org/pub/vcdimager/vcdimager-0.7_UNSTABLE/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~ppc ~amd64 ~alpha ~ia64 ~sparc" IUSE="xml2" DEPEND=">=dev-libs/libcdio-0.66 xml2? ( >=dev-libs/libxml2-2.3.8 )" src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/cdio.patch epatch ${FILESDIR}/vcdimager-lvcdinfo-dep.patch use xml2 \ && { export WANT_AUTOCONF=2.5 epatch ${FILESDIR}/vcdimager-autoconf-libxml2.patch autoconf || die "autoconf failed" elibtoolize } } src_compile() { local myopts # The xml tests no longer have to be disabled with vcdimager-autoconf-libxml2.patch use xml2 || myopts="${myopts} --without-xml-frontend" econf ${myopts} || die emake || die } src_install() { make \ prefix=${D}/usr \ mandir=${D}/usr/share/man \ infodir=${D}/usr/share/info \ install || die dodoc AUTHORS BUGS COPYING ChangeLog FAQ HACKING INSTALL dodoc NEWS README THANKS TODO }