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
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)
-rw-r--r--media-sound/mp3cat/ChangeLog8
-rw-r--r--media-sound/mp3cat/mp3cat-0.4.ebuild17
2 files changed, 13 insertions, 12 deletions
diff --git a/media-sound/mp3cat/ChangeLog b/media-sound/mp3cat/ChangeLog
index 5c6c2ec5d9e6..9b85912e577a 100644
--- a/media-sound/mp3cat/ChangeLog
+++ b/media-sound/mp3cat/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-sound/mp3cat
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mp3cat/ChangeLog,v 1.6 2007/02/22 01:14:35 peper Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mp3cat/ChangeLog,v 1.7 2012/11/25 17:52:43 ago Exp $
+
+ 25 Nov 2012; Agostino Sarubbo <ago@gentoo.org> mp3cat-0.4.ebuild:
+ Add ~amd64
22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
Transition to Manifest2.
@@ -22,4 +25,3 @@
27 Jan 2005; Patrick Dawson <pkdawson@gentoo.org> +metadata.xml,
+mp3cat-0.4.ebuild:
Initial import. Thanks to Nikolaos Anastopoulos.
-
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
}