# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-video/vcdimager/vcdimager-0.7.17.ebuild,v 1.3 2004/02/17 22:55:36 agriffis Exp $ IUSE="xml2" DESCRIPTION="GNU VCDimager" S=${WORKDIR}/${PN}-${PV}-cdio SRC_URI="http://savannah.nongnu.org/download/libcdio/libcdio.pkg/0.62/${PN}-${PV}-cdio.tar.gz" HOMEPAGE="http://www.vcdimager.org/" SLOT="0" LICENSE="GPL-2" KEYWORDS="~x86" # Ideally this would also include help2man, but it's not yet in portage. DEPEND=">=dev-libs/libcdio-0.62 xml2? ( >=dev-libs/libxml2-2.5.11 )" 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} --with-xml-prefix=/usr --disable-xmltest" \ || 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 }