# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # $Header: /home/cvsroot/gentoo-x86/media-video/xine-d5d/xine-d5d-0.2.7.ebuild,v 1.2 2002/07/19 11:28:21 seemant Exp $ S="${WORKDIR}/${P}" DESCRIPTION="Captain CSS menu plugin for the xine media player" HOMEPAGE="http://members.fortunecity.de/captaincss/" SRC_URI="http://members.fortunecity.de/captaincss/d5d${PV//./}.txt" DEPEND="~media-libs/xine-lib-0.9.13" RDEPEND="${DEPEND}" SLOT="0" LICENSE="LGPL" KEYWORDS="x86 ppc" src_unpack() { cp ${DISTDIR}/${A} . && chmod +x ${A} && ./${A} && \ tar zxf ${WORKDIR}/${P}.tgz || \ die "Unpacking failed" cd ${WORKDIR} patch -p0 < ${FILESDIR}/${PF}-gentoo.diff || die "Patching failed" } src_compile() { ./configure \ --host=${CHOST} \ --prefix=/usr || die "./configure failed" emake || die } src_install () { make DESTDIR=${D} install || die dodoc AUTHORS COPYING ChangeLog INSTALL README NEWS }