# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-video/lxdvdrip/lxdvdrip-1.42.ebuild,v 1.3 2006/03/24 05:16:33 morfic Exp $ inherit eutils MY_P="${PN}-${PV}" DESCRIPTION="command line tool to automate the process of ripping and burning DVD" SRC_URI="http://download.berlios.de/lxdvdrip/${MY_P}.tgz" HOMEPAGE="http://developer.berlios.de/projects/lxdvdrip/" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64 ~ppc" IUSE="" RDEPEND=">=media-video/dvdauthor-0.6.9 media-video/streamdvd" S="${WORKDIR}/${PN}" src_unpack() { unpack ${A} cd ${S} sed -ie "s/gcc -g/\$(CC) \$(CFLAGS)/g" Makefile } src_compile() { emake || die "make failed" } src_install () { dobin lxdvdrip dodoc doc-pak/* insinto /etc newins doc-pak/lxdvdrip.conf.EN lxdvdrip.conf }