summaryrefslogtreecommitdiff
blob: 35cbe6ff7b1571f3caf374bbe6c535e984f043d1 (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-sound/mpg123/mpg123-0.59r.ebuild,v 1.5 2001/05/28 05:24:13 achim Exp $

P=mpg123-0.59r
A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="Real Time mp3 player"
SRC_URI="http://www.mpg123.de/mpg123/${A}"
HOMEPAGE="http://www.mpg123.de/"

DEPEND="virtual/glibc"

src_unpack () {
    unpack ${A}
    cd ${S}
    cp Makefile Makefile.orig
    sed -e "s:-O2 -m486:${CFLAGS}:" Makefile.orig > Makefile
}

src_compile() {

    try make linux-i486

}

src_install () {

    into /usr
    dobin mpg123
    doman mpg123.1
    dodoc BENCHMARKING BUGS CHANGES COPYING JUKEBOX README* TODO


}