summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-09-30 02:47:39 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-09-30 02:47:39 +0000
commite4f0747ad51ead713b136a24ae27ef3df7512a16 (patch)
tree3ffd76305f52da49ecaf457838ecf7b6ad377b79 /media-sound/mpfc
parentVersion bump. Removing old versions. 0.5.2 stable on amd64 and x86. (diff)
downloadhistorical-e4f0747ad51ead713b136a24ae27ef3df7512a16.tar.gz
historical-e4f0747ad51ead713b136a24ae27ef3df7512a16.tar.bz2
historical-e4f0747ad51ead713b136a24ae27ef3df7512a16.zip
Added to ~sparc and ~amd64. get_libdir support added.
Diffstat (limited to 'media-sound/mpfc')
-rw-r--r--media-sound/mpfc/ChangeLog5
-rw-r--r--media-sound/mpfc/Manifest10
-rw-r--r--media-sound/mpfc/mpfc-1.3.2.ebuild49
3 files changed, 42 insertions, 22 deletions
diff --git a/media-sound/mpfc/ChangeLog b/media-sound/mpfc/ChangeLog
index 38ce123f69f8..f3174c4b5cfa 100644
--- a/media-sound/mpfc/ChangeLog
+++ b/media-sound/mpfc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-sound/mpfc
# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mpfc/ChangeLog,v 1.1 2004/09/29 21:18:45 pkdawson Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mpfc/ChangeLog,v 1.2 2004/09/30 02:47:39 eradicator Exp $
+
+ 29 Sep 2004; Jeremy Huddleston <eradicator@gentoo.org> mpfc-1.3.2.ebuild:
+ Added to ~sparc and ~amd64. get_libdir support added.
*mpfc-1.3.2 (29 Sep 2004)
diff --git a/media-sound/mpfc/Manifest b/media-sound/mpfc/Manifest
index 738203c07db2..609ccad1fdb4 100644
--- a/media-sound/mpfc/Manifest
+++ b/media-sound/mpfc/Manifest
@@ -1,14 +1,14 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 5ef497db390964dba10b2bd2ac2e9a1f ChangeLog 325
+MD5 26c8f5109edacf6380e16304053abd3b ChangeLog 461
MD5 83c2574543d0501303b57050254e3880 metadata.xml 222
-MD5 25e5fa115aca51136756f7ff34a2e2d4 mpfc-1.3.2.ebuild 1011
+MD5 d8c2038b47a5512ccfd15374a48b8e1c mpfc-1.3.2.ebuild 1259
MD5 7efeab71fe6d7846f773eee95fa30adf files/digest-mpfc-1.3.2 62
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
-iD8DBQFBWyaiE67gNkjlZFIRAjJFAKCsTL7KPq688E35zVFy8JdJAPmrQQCg1cdt
-QavNgQszQzhhV0sAaEtG0R0=
-=JjlD
+iD8DBQFBW3RYArHZZzCEUG0RAjoMAJ9oXf8pg33VHmS5jlsxbKo3qKew0ACfZ4f8
+YZS6ezot+0bBjFWkh68rCto=
+=QxF6
-----END PGP SIGNATURE-----
diff --git a/media-sound/mpfc/mpfc-1.3.2.ebuild b/media-sound/mpfc/mpfc-1.3.2.ebuild
index aba6fa36112a..8654bda77a90 100644
--- a/media-sound/mpfc/mpfc-1.3.2.ebuild
+++ b/media-sound/mpfc/mpfc-1.3.2.ebuild
@@ -1,38 +1,55 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mpfc/mpfc-1.3.2.ebuild,v 1.1 2004/09/29 21:18:45 pkdawson Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mpfc/mpfc-1.3.2.ebuild,v 1.2 2004/09/30 02:47:39 eradicator Exp $
+
+IUSE="alsa oss esd mad oggvorbis gpm"
+
+inherit eutils
DESCRIPTION="Music Player For Console"
HOMEPAGE="http://mpfc.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
-
SLOT="0"
-KEYWORDS="~x86"
-IUSE="alsa oss esd mad oggvorbis gpm"
-
+KEYWORDS="~amd64 ~sparc ~x86"
-DEPEND="alsa? ( >=media-libs/alsa-lib-0.9.0 )
+RDEPEND="alsa? ( >=media-libs/alsa-lib-0.9.0 )
esd? ( >=media-sound/esound-0.2.22 )
mad? ( media-libs/libmad )
oggvorbis? ( media-libs/libvorbis )
gpm? ( >=sys-libs/gpm-1.19.3 )"
-src_compile() {
- local myconf=""
- myconf="${myconf} $(use_enable alsa)"
- myconf="${myconf} $(use_enable oss)"
- myconf="${myconf} $(use_enable esd)"
- myconf="${myconf} $(use_enable mad mp3)"
- myconf="${myconf} $(use_enable oggvorbis ogg)"
- myconf="${myconf} $(use_enable gpm)"
+DEPEND="${RDEPEND}
+ sys-apps/findutils
+ sys-apps/grep
+ sys-apps/sed"
+
+src_unpack() {
+ unpack ${A}
+ # $(get_libdir) fixes
+ cd ${S}
+ find . -name 'Makefile.in' |
+ xargs grep ^libdir |
+ cut -f1 -d: |
+ xargs sed -i "s:^\(libdir.*\)/lib/\(.*\)$:\1/$(get_libdir)/\2:" || die
+}
+
+src_compile() {
+ local myconf="
+ $(use_enable alsa) \
+ $(use_enable oss) \
+ $(use_enable esd) \
+ $(use_enable mad mp3) \
+ $(use_enable oggvorbis ogg) \
+ $(use_enable gpm) \
+ --sysconfdir=/etc"
econf ${myconf} || die
- emake || die
+ emake || die "emake failed"
}
src_install() {
- make DESTDIR=${D} install || die
+ make DESTDIR="${D}" install || die
insinto /etc
doins mpfcrc