summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2008-02-01 10:38:54 +0000
committerSamuli Suominen <drac@gentoo.org>2008-02-01 10:38:54 +0000
commit231accfa8542dd09fa0ed72e48e91e30038a99e5 (patch)
treefd713e00eda1cf6af7002f5577dfac7bfb08622e /media-sound/muse
parentFix license to read GPL-2. (diff)
downloadgentoo-2-231accfa8542dd09fa0ed72e48e91e30038a99e5.tar.gz
gentoo-2-231accfa8542dd09fa0ed72e48e91e30038a99e5.tar.bz2
gentoo-2-231accfa8542dd09fa0ed72e48e91e30038a99e5.zip
amd64 stable, rewrite ebuild
(Portage version: 2.1.4)
Diffstat (limited to 'media-sound/muse')
-rw-r--r--media-sound/muse/ChangeLog6
-rw-r--r--media-sound/muse/muse-0.9.2.ebuild47
2 files changed, 21 insertions, 32 deletions
diff --git a/media-sound/muse/ChangeLog b/media-sound/muse/ChangeLog
index a1096506e090..a6acbb259a0f 100644
--- a/media-sound/muse/ChangeLog
+++ b/media-sound/muse/ChangeLog
@@ -1,9 +1,9 @@
# ChangeLog for media-sound/muse
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/muse/ChangeLog,v 1.21 2008/02/01 09:15:12 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/muse/ChangeLog,v 1.22 2008/02/01 10:38:54 drac Exp $
- 01 Feb 2008; Christian Faulhammer <opfer@gentoo.org> muse-0.9.2.ebuild:
- quote variables
+ 01 Feb 2008; Samuli Suominen <drac@gentoo.org> muse-0.9.2.ebuild:
+ amd64 stable wrt #205452
31 Jan 2008; Christian Faulhammer <opfer@gentoo.org> muse-0.9.2.ebuild:
stable x86, bug 205452
diff --git a/media-sound/muse/muse-0.9.2.ebuild b/media-sound/muse/muse-0.9.2.ebuild
index 3f8e47c945d5..a826b0105f07 100644
--- a/media-sound/muse/muse-0.9.2.ebuild
+++ b/media-sound/muse/muse-0.9.2.ebuild
@@ -1,55 +1,44 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/muse/muse-0.9.2.ebuild,v 1.4 2008/02/01 09:15:12 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/muse/muse-0.9.2.ebuild,v 1.5 2008/02/01 10:38:54 drac Exp $
inherit eutils
-MY_P=${PN/muse/MuSE}-${PV}
-S=${WORKDIR}/${MY_P}
+MY_P=${P/muse/MuSE}
DESCRIPTION="Multiple Streaming Engine, an icecast source streamer"
+HOMEPAGE="http://muse.dyne.org"
SRC_URI="ftp://ftp.dyne.org/muse/releases/${MY_P}.tar.gz"
-HOMEPAGE="http://muse.dyne.org/"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~sparc x86"
-IUSE="gtk debug"
+KEYWORDS="amd64 ~ppc ~sparc x86"
+IUSE="debug gtk"
-DEPEND="media-sound/lame
+RDEPEND="media-sound/lame
media-libs/libvorbis
media-libs/libsndfile
media-libs/libogg
- sys-libs/zlib
- sys-apps/sed
- gtk? ( =x11-libs/gtk+-2*
- >=dev-libs/glib-2 )"
+ gtk? ( >=x11-libs/gtk+-2 )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+S=${WORKDIR}/${MY_P}
src_unpack() {
unpack ${A}
cd "${S}"
- epatch "${FILESDIR}/${P}-asneeded.patch"
+ epatch "${FILESDIR}"/${P}-asneeded.patch
}
src_compile() {
- econf \
- $(use_enable debug) \
- $(use_enable gtk gtk2) \
- || die "econf failed"
-
- emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS} -fpermissive" \
- || die "emake failed"
+ econf $(use_enable debug) $(use_enable gtk gtk2)
+ emake CXXFLAGS="${CXXFLAGS} -fpermissive" CFLAGS="${CFLAGS}" \
+ || die "emake failed."
}
src_install() {
- make DESTDIR="${D}" install || die "make install failed"
- rm -rf "${D}"/usr/doc
- dodoc AUTHORS ChangeLog NEWS README TODO KNOWN-BUGS USAGE
-}
-
-pkg_postinst() {
- elog
- elog "You may want to have a look at /usr/share/doc/${PF}/README.gz"
- elog "for more info."
- elog
+ emake DESTDIR="${D}" docsdir="/usr/share/doc/${PF}" \
+ install || die "emake install failed."
+ prepalldocs
}