summaryrefslogtreecommitdiff
blob: e92a40cf9f973330ec9c3c03616154bb9cefdd78 (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
36
37
38
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/media-video/smpeg-xmms/smpeg-xmms-0.3.2.ebuild,v 1.1 2000/11/26 20:54:18 achim Exp $

A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="A MPEG Plugin for XMMS"
SRC_URI="ftp://ftp.xmms.org/xmms/plugins/smpeg-xmms/${A}"
HOMEPAGE="http://www.xmms.org/plugins_input.html"

DEPEND=">=media-sound/xmms-1.2.3"
RDEPEND=">=media-sound/xmms-1.2.3"

src_compile() {

    cd ${S}
    local myopts
    if [ -n "`use gnome`" ]
    then
	myopts="--prefix=/opt/gnome"
    else
	myopts="--prefix=/usr/X11R6"
    fi
    try ./configure ${myopts} --host=${CHOST}
    try make

}

src_install () {

    cd ${S}
    try make DESTDIR=${D} install
    dodoc AUTHORS COPYING README TODO ChangeLog
}