diff options
Diffstat (limited to 'media-sound/muse/muse-0.9.1.ebuild')
-rw-r--r-- | media-sound/muse/muse-0.9.1.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/media-sound/muse/muse-0.9.1.ebuild b/media-sound/muse/muse-0.9.1.ebuild new file mode 100644 index 000000000000..2f6f47ed6eb4 --- /dev/null +++ b/media-sound/muse/muse-0.9.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/muse/muse-0.9.1.ebuild,v 1.1 2005/01/21 21:29:29 luckyduck Exp $ + +IUSE="ncurses gtk debug" + +inherit eutils + +MY_P=${PN/muse/MuSE}-${PV} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="Multiple Streaming Engine, an icecast source streamer" +SRC_URI="ftp://ftp.dyne.org/muse/releases/${MY_P}.tar.gz" +HOMEPAGE="http://muse.dyne.org/" + +KEYWORDS="~ppc sparc x86" +SLOT="0" +LICENSE="GPL-2" + +DEPEND="media-sound/lame + media-libs/libvorbis + sys-libs/zlib + sys-apps/sed + ncurses? ( sys-libs/ncurses ) + gtk? ( =x11-libs/gtk+-1* + >=dev-libs/glib-1 )" +RESTRICT="nomirror" + + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-include.patch + epatch ${FILESDIR}/${P}-miscfixes.patch +} + +src_compile() { + econf \ + `use_with gtk x` \ + `use_with ncurses rubik` \ + `use_enable debug` || die "econf failed" + + emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS} -fpermissive" || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die + rm -rf ${D}/usr/doc + dodoc AUTHORS ChangeLog NEWS README TODO KNOWN-BUGS USAGE +} + +pkg_postinst() { + einfo + einfo "You may want to have a look at /usr/share/doc/${PF}/README.gz for more info." + einfo +} |