# 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} export WANT_AUTOMAKE=1.8 export WANT_AUTOCONF=1.5 epatch ${FILESDIR}/cdio.patch epatch ${FILESDIR}/vcdimager-fixlibvcd-pc.patch # fixes libvcd.pc not being installed epatch ${FILESDIR}/vcdimager-autoconf-libxml2.patch aclocal -I . &> /dev/null automake -a || die "automake -a failed" autoconf || die "autoconf failed" elibtoolize } src_compile() { local myopts # We disable the xmltest because the configure script includes differently # than the actual XML-frontend C files. 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 }