summaryrefslogtreecommitdiff
blob: dc475bd7c608d55dbf8d130b75d31e1ef05fadda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# 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.2 2003/02/13 12:59:36 vapier 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.12"

SLOT="0"
LICENSE="LGPL"
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
}