Hello Folks! This is Lazy, a *NIX shell CD player. My initial idea for this software was to have a simple program which could play CD's and display Artist and Song names, with an output simple as the default output from mpg123.
Created attachment 39110 [details] Lazy ebuild script Hello Folks! This is Lazy, a *NIX shell CD player. My initial idea for this software was to have a simple program which could play CD's and display Artist and Song names, with an output simple as the default output from mpg123.
Comment on attachment 39110 [details] Lazy ebuild script ># Copyright 2004 Gentoo Linux Brasil ># Distributed under the terms of the GNU General Public License, v2 or later ># Maintainer: Marcelo V. Lima <marcelo@gentoobr.org> ># $Header:$ > >S="${WORKDIR}/${P}" >DESCRIPTION="Lazy - A simple CD player with CDDB support to display song titles" >SRC_URI="http://www.cscience.org/~lucasvr/projects/${P}.tar.bz2" >HOMEPAGE="http://www.cscience.org/~lucasvr/projects/lazy.html" >LICENSE="GPL-2" >DEPEND="" > >src_unpack() { > unpack "${P}.tar.bz2" > cd "${S}" >} > >src_compile() { > ./configure \ > --prefix=/usr \ > --infodir=/usr/share/info \ > --mandir=/usr/share/man || die "./configure failed" > #emake || die > make || die >} > >src_install () { > make DESTDIR=${D} install || die > dodoc AUTHORS BUGS ChangeLog COPYING FAQ INSTALL NEWS README TODO >} > >pkg_setup() { > echo "Performing setup routines for ${P}." >}
Comment on attachment 39110 [details] Lazy ebuild script ># Copyright 2004 Gentoo Linux Brasil ># Distributed under the terms of the GNU General Public License, v2 or later ># Maintainer: Marcelo V. Lima <marcelo@gentoobr.org> ># $Header:$ > >S="${WORKDIR}/${P}" >DESCRIPTION="Lazy - A simple CD player with CDDB support to display song titles" >SRC_URI="http://snap.zapto.org:8080/${P}.tar.bz2" >HOMEPAGE="http://snap.zapto.org:8080hhhhhhhh" >LICENSE="GPL-2" >DEPEND="" > >src_unpack() { > unpack "${P}.tar.bz2" > cd "${S}" >} > >src_compile() { > ./configure \ > --prefix=/usr \ > --infodir=/usr/share/info \ > --mandir=/usr/share/man || die "./configure failed" > #emake || die > make || die >} > >src_install () { > make DESTDIR=${D} install || die > dodoc AUTHORS BUGS ChangeLog COPYING FAQ INSTALL NEWS README TODO >} > >pkg_setup() { > echo "Performing setup routines for ${P}." >}
Comment on attachment 39110 [details] Lazy ebuild script ># Copyright 2004 Gentoo Linux Brasil ># Distributed under the terms of the GNU General Public License, v2 or later ># Maintainer: Marcelo V. Lima <marcelo@gentoobr.org> ># $Header:$ > >S="${WORKDIR}/${P}" >DESCRIPTION="Lazy - A simple CD player with CDDB support to display song titles" >SRC_URI="http://www.cscience.org/~lucasvr/projects/${P}.tar.bz2" >HOMEPAGE="http://www.cscience.org/~lucasvr/projects/lazy.htm" >LICENSE="GPL-2" >DEPEND="" > >src_unpack() { > unpack "${P}.tar.bz2" > cd "${S}" >} > >src_compile() { > ./configure \ > --prefix=/usr \ > --infodir=/usr/share/info \ > --mandir=/usr/share/man || die "./configure failed" > #emake || die > make || die >} > >src_install () { > make DESTDIR=${D} install || die > dodoc AUTHORS BUGS ChangeLog COPYING FAQ INSTALL NEWS README TODO >} > >pkg_setup() { > echo "Performing setup routines for ${P}." >}
Created attachment 39112 [details] Lazy ebuild script Hello Folks! This is Lazy, a *NIX shell CD player. My initial idea for this software was to have a simple program which could play CD's and display Artist and Song names, with an output simple as the default output from mpg123.
Comment on attachment 39110 [details] Lazy ebuild script
Please replace the header in your ebuild with the default one in /usr/portage/skel.ebuild. Unless you assign copyright to the Gentoo Foundation, we cannot accept it. Also, is there any reason you're not using econf and emake? S is set to ${WORKDIR}/${P} by default, so you don't need that line. You can also remove the src_unpack function, because the default one automatically unpacks all the downloaded tarballs. Finally, I'm not sure what you're doing with pkg_setup. Is there any need for it?
Created attachment 39441 [details] Lazy ebuild script
Thanks Patrick ;) Lazy ebuild fixed
You should use econf and emake.
Please fix the following and reopen: * IUSE is mandatory * SLOT is mandatory * http://dev.gentoo.org/~ciaranm/docs/mw-faq/emake.txt * http://dev.gentoo.org/~ciaranm/docs/mw-faq/quoting.txt * http://dev.gentoo.org/~ciaranm/docs/mw-faq/docfiles.txt