diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2002-04-27 11:57:51 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2002-04-27 11:57:51 +0000 |
commit | 91b5d2500abcef8c905bcb52a9afbec1db7f6b70 (patch) | |
tree | fd4093ed68f8ce302dde999f9f728ccb51bfb182 /media-sound/mpg123 | |
parent | obsolete package removed (diff) | |
download | historical-91b5d2500abcef8c905bcb52a9afbec1db7f6b70.tar.gz historical-91b5d2500abcef8c905bcb52a9afbec1db7f6b70.tar.bz2 historical-91b5d2500abcef8c905bcb52a9afbec1db7f6b70.zip |
cleanup
Diffstat (limited to 'media-sound/mpg123')
-rw-r--r-- | media-sound/mpg123/mpg123-0.59r-r1.ebuild | 40 | ||||
-rw-r--r-- | media-sound/mpg123/mpg123-0.59r.ebuild | 28 |
2 files changed, 32 insertions, 36 deletions
diff --git a/media-sound/mpg123/mpg123-0.59r-r1.ebuild b/media-sound/mpg123/mpg123-0.59r-r1.ebuild index d1a1e25bc1d9..560c3466b201 100644 --- a/media-sound/mpg123/mpg123-0.59r-r1.ebuild +++ b/media-sound/mpg123/mpg123-0.59r-r1.ebuild @@ -1,35 +1,37 @@ -# Copyright 1999-2000 Gentoo Technologies, Inc. +# Copyright 1999-2002 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 $ +# $Id: mpg123-0.59r-r1.ebuild,v 1.2 2002/04/27 11:57:51 seemant 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}" +SRC_URI="http://www.mpg123.de/mpg123/${P}.tar.gz" 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 + unpack ${A} + cd ${S} + cp Makefile Makefile.orig + sed -e "s:-O2 -m486:${CFLAGS}:" Makefile.orig > Makefile } src_compile() { - MAKEOPT="" - MAKESTYLE="" + local MAKEOPT="" + local MAKESTYLE="" SYSTEM_ARCH=`echo $ARCH |\ - sed -e s/[i]*.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/` + 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/` + sed -e s/[i]*.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/` fi case $SYSTEM_ARCH in @@ -43,14 +45,12 @@ src_compile() { ;; esac - try make linux${MAKESTYLE}${MAKEOPT} + make linux${MAKESTYLE}${MAKEOPT} || die } src_install () { - into /usr - dobin mpg123 - doman mpg123.1 - dodoc BENCHMARKING BUGS CHANGES COPYING JUKEBOX README* TODO + into /usr + dobin mpg123 + doman mpg123.1 + dodoc BENCHMARKING BUGS CHANGES COPYING JUKEBOX README* TODO } - - diff --git a/media-sound/mpg123/mpg123-0.59r.ebuild b/media-sound/mpg123/mpg123-0.59r.ebuild index 35cbe6ff7b15..c3684340cb81 100644 --- a/media-sound/mpg123/mpg123-0.59r.ebuild +++ b/media-sound/mpg123/mpg123-0.59r.ebuild @@ -1,38 +1,34 @@ -# Copyright 1999-2000 Gentoo Technologies, Inc. +# Copyright 1999-2002 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 $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg123/mpg123-0.59r.ebuild,v 1.6 2002/04/27 11:57:51 seemant 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}" +SRC_URI="http://www.mpg123.de/mpg123/${P}.tar.gz" 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 + unpack ${A} + cd ${S} + cp Makefile Makefile.orig + sed -e "s:-O2 -m486:${CFLAGS}:" Makefile.orig > Makefile } src_compile() { - try make linux-i486 + make linux-i486 || die } src_install () { - into /usr - dobin mpg123 - doman mpg123.1 - dodoc BENCHMARKING BUGS CHANGES COPYING JUKEBOX README* TODO + into /usr + dobin mpg123 + doman mpg123.1 + dodoc BENCHMARKING BUGS CHANGES COPYING JUKEBOX README* TODO } - - |