summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAgostino Sarubbo <ago@gentoo.org>2012-11-25 17:52:43 +0000
committerAgostino Sarubbo <ago@gentoo.org>2012-11-25 17:52:43 +0000
commit3ebddb53774a6d79d88f1e14a7189f7fbc74ee46 (patch)
tree815a2ed13f9a9fc9f32ae22570ca54cd96a735a1 /media-sound/mp3cat/mp3cat-0.4.ebuild
parentAdd ~amd64 (diff)
downloadgentoo-2-3ebddb53774a6d79d88f1e14a7189f7fbc74ee46.tar.gz
gentoo-2-3ebddb53774a6d79d88f1e14a7189f7fbc74ee46.tar.bz2
gentoo-2-3ebddb53774a6d79d88f1e14a7189f7fbc74ee46.zip
Add ~amd64
(Portage version: 2.1.11.31/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'media-sound/mp3cat/mp3cat-0.4.ebuild')
-rw-r--r--media-sound/mp3cat/mp3cat-0.4.ebuild17
1 files changed, 8 insertions, 9 deletions
diff --git a/media-sound/mp3cat/mp3cat-0.4.ebuild b/media-sound/mp3cat/mp3cat-0.4.ebuild
index 7dc906e50b35..9f9e909819c4 100644
--- a/media-sound/mp3cat/mp3cat-0.4.ebuild
+++ b/media-sound/mp3cat/mp3cat-0.4.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mp3cat/mp3cat-0.4.ebuild,v 1.5 2009/08/03 13:05:15 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mp3cat/mp3cat-0.4.ebuild,v 1.6 2012/11/25 17:52:43 ago Exp $
+
+EAPI=5
inherit toolchain-funcs
@@ -10,21 +12,18 @@ SRC_URI="http://tomclegg.net/software/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~ppc ~x86 ~x86-fbsd"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
IUSE=""
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
sed -i -e 's:cc -o:${CC} ${CFLAGS} ${LDFLAGS} -o:' \
Makefile || die "sed failed"
}
src_compile() {
- emake CC="$(tc-getCC)" || die "emake failed"
+ emake CC="$(tc-getCC)"
}
src_install() {
- dobin mp3cat mp3log mp3log-conf mp3dirclean mp3http \
- mp3stream-conf || die "sed failed"
+ dobin mp3cat mp3log mp3log-conf mp3dirclean mp3http mp3stream-conf
}