Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 526 - New MP3Blaster-3.0 ebuild
Summary: New MP3Blaster-3.0 ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Grant Goodyear (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-04 11:02 UTC by JR Boyens
Modified: 2002-02-08 13:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description JR Boyens 2002-02-04 11:02:27 UTC
Saw on the Dev list that this was wanted.

I added my name to the Author header and upped the Copyright year.
If you need anything else or there is a problem with my submission, please contact 
me. Thanks.

--
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Philippe Namias <pnamias@gentoo.org>, JR Boyens 
<jboyens@iastate.edu>
# 
/space/gentoo/cvsroot/gentoo-x86/media-sound/mp3blaster/mp3blaster-3.0_p8.ebuild,v 
1.3 2001/11/17 11:28:28 danarmak Exp

P=${PN}-3.0.tar.gz
S=${WORKDIR}/${PN}-3.0
DESCRIPTION="MP3 command line player"
SRC_URI="ftp://mud.stack.nl/pub/mp3blaster/${P}"
HOMEPAGE="http://www.stack.nl/~brama/mp3blaster"

DEPEND=">=sys-libs/ncurses-5.2
        nas? ( >=media-libs/nas-1.4.2 )
        mysql? ( >=dev-db/mysql-3.23.47 )
        vorbis? ( >=media-libs/libvorbis-1.0_beta1 )"

src_compile() {
        local myconf
        use nas && myconf="${myconf} --with-nas"
        use mysql && myconf="${myconf} --with-mysql"
        use vorbis || myconf="${myconf} --without-oggvorbis"

        ./configure --prefix=/usr --mandir=/usr/share/man --host=${CHOST} ${myconf} || 
die

        if [ "`use nas`" ] ; then
                cd src
                sed -e "s:^INCLUDES =:INCLUDES = -I/usr/X11R6/include:" \
                        -e "s:^splay_LDADD =:splay_LDADD = \$(NAS_LIBS):" Makefile | cat > 
Makefile
                cd ..
        fi

        # parallel make does not work
        make CC="gcc ${CFLAGS}" CXX="c++ ${CXXFLAGS}" || die
}

src_install () {
        make DESTDIR=${D} install || die
        dodoc ANNOUNCE AUTHORS COPYING CREDITS ChangeLog FAQ NEWS 
README TODO
}
Comment 1 JR Boyens 2002-02-04 11:09:02 UTC
I attempted to attach the ebuild, but with three different browsers, I was
unable to do it with the error that the file was empty... Sorry about the
inlining.
Comment 2 Grant Goodyear (RETIRED) gentoo-dev 2002-02-08 13:10:48 UTC
Already added by woodchip