summaryrefslogtreecommitdiff
blob: 971bf7138c50d22cd8eada9a5719c8d5c4c8a8c1 (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
35
# 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-d5d/xine-d5d-0.2.7.ebuild,v 1.3 2003/02/28 16:54:59 liquidx 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.12"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 ppc"

src_unpack() {

        cp ${DISTDIR}/${A} . && chmod +x ${A} && ./${A} && \
        tar zxf ${WORKDIR}/${P}.tgz || \
        die "Unpacking 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
}