# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-plugins/xine-d4d/xine-d4d-0.3.2-r1.ebuild,v 1.4 2003/07/12 23:29:27 aliz Exp $ S="${WORKDIR}/${PN/-/_}_plugin-${PV}" DESCRIPTION="Captain CSS plugin for the xine media player" HOMEPAGE="http://members.fortunecity.de/captaincss/" SRC_URI="http://members.fortunecity.de/captaincss/d4d${PV//./}.txt" DEPEND="=media-libs/xine-lib-0.9*" SLOT="0" LICENSE="GPL-2" KEYWORDS="x86 ppc" src_unpack() { cp ${DISTDIR}/${A} . && chmod +x ${A} && ./${A} && \ tar zxf ${WORKDIR}/${PN/-/_}_plugin-${PV}.tar.gz || \ die "Unpacking failed" } src_compile() { econf || die "./configure failed" emake || die } src_install () { make DESTDIR=${D} install || die dodoc AUTHORS COPYING ChangeLog INSTALL README NEWS }