diff options
author | Pieter van den Abeele <pvdabeel@gentoo.org> | 2002-04-27 10:58:46 +0000 |
---|---|---|
committer | Pieter van den Abeele <pvdabeel@gentoo.org> | 2002-04-27 10:58:46 +0000 |
commit | 022afb81cc60060db71a6daee35a05cabf06007b (patch) | |
tree | d0f9fcbb2378e9ef01a885f6cc038483067bca65 | |
parent | cleanup (diff) | |
download | gentoo-2-022afb81cc60060db71a6daee35a05cabf06007b.tar.gz gentoo-2-022afb81cc60060db71a6daee35a05cabf06007b.tar.bz2 gentoo-2-022afb81cc60060db71a6daee35a05cabf06007b.zip |
PPC fix
-rw-r--r-- | media-sound/mpg123/ChangeLog | 7 | ||||
-rw-r--r-- | media-sound/mpg123/files/digest-mpg123-0.59r-r1 | 1 | ||||
-rw-r--r-- | media-sound/mpg123/mpg123-0.59r-r1.ebuild | 56 |
3 files changed, 63 insertions, 1 deletions
diff --git a/media-sound/mpg123/ChangeLog b/media-sound/mpg123/ChangeLog index b4929a554d7e..7f6ba801500c 100644 --- a/media-sound/mpg123/ChangeLog +++ b/media-sound/mpg123/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-sound/mpg123 # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg123/ChangeLog,v 1.1 2002/02/01 21:53:31 gbevin Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg123/ChangeLog,v 1.2 2002/04/27 10:58:46 pvdabeel Exp $ + +*mpg123-0.59r-r1 (27 Apr 2002) + + 27 Apr 2002; pvdabeel <pvdabeel@gentoo.org> : + ppc fix *mpg123-0.59r (1 Feb 2002) diff --git a/media-sound/mpg123/files/digest-mpg123-0.59r-r1 b/media-sound/mpg123/files/digest-mpg123-0.59r-r1 new file mode 100644 index 000000000000..d1abfcacbafc --- /dev/null +++ b/media-sound/mpg123/files/digest-mpg123-0.59r-r1 @@ -0,0 +1 @@ +MD5 95df59ad1651dd2346d49fafc83747e7 mpg123-0.59r.tar.gz 159028 diff --git a/media-sound/mpg123/mpg123-0.59r-r1.ebuild b/media-sound/mpg123/mpg123-0.59r-r1.ebuild new file mode 100644 index 000000000000..d1a1e25bc1d9 --- /dev/null +++ b/media-sound/mpg123/mpg123-0.59r-r1.ebuild @@ -0,0 +1,56 @@ +# 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> +# $Id: mpg123-0.59r-r1.ebuild,v 1.1 2002/04/27 10:58:46 pvdabeel 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() { + MAKEOPT="" + MAKESTYLE="" + + SYSTEM_ARCH=`echo $ARCH |\ + sed -e s/[i]*.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/` + if [ -z "$SYSTEM_ARCH" ] + then + SYSTEM_ARCH=`uname -m |\ + sed -e s/[i]*.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/` + fi + + case $SYSTEM_ARCH in + ppc) + MAKESTYLE="-ppc";; + i386) + MAKESTYLE="-i486";; + sparc64) + ;; + arm) + ;; + esac + + try make linux${MAKESTYLE}${MAKEOPT} +} + +src_install () { + into /usr + dobin mpg123 + doman mpg123.1 + dodoc BENCHMARKING BUGS CHANGES COPYING JUKEBOX README* TODO +} + + |