Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63084 - lazy-0.24d (New Package)
Summary: lazy-0.24d (New Package)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Lowest enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-09-06 22:45 UTC by Marcelo V. Lima
Modified: 2005-09-13 19:11 UTC (History)
1 user (show)

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


Attachments
Lazy ebuild script (lazy-0.24d.ebuild,793 bytes, text/plain)
2004-09-06 22:48 UTC, Marcelo V. Lima
Details
Lazy ebuild script (lazy-0.24d.ebuild,833 bytes, text/plain)
2004-09-06 23:02 UTC, Marcelo V. Lima
Details
Lazy ebuild script (lazy-0.24d.ebuild,626 bytes, text/plain)
2004-09-12 07:58 UTC, Marcelo V. Lima
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcelo V. Lima 2004-09-06 22:45:57 UTC
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 1 Marcelo V. Lima 2004-09-06 22:48:40 UTC
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 2 Marcelo V. Lima 2004-09-06 22:54:45 UTC
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 3 Marcelo V. Lima 2004-09-06 22:56:01 UTC
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 4 Marcelo V. Lima 2004-09-06 22:57:07 UTC
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 5 Marcelo V. Lima 2004-09-06 22:58:30 UTC
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}."
>}
Comment 6 Marcelo V. Lima 2004-09-06 23:02:47 UTC
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 7 Marcelo V. Lima 2004-09-06 23:05:11 UTC
Comment on attachment 39110 [details]
Lazy ebuild script
Comment 8 Patrick Dawson (RETIRED) gentoo-dev 2004-09-09 06:53:45 UTC
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?
Comment 9 Marcelo V. Lima 2004-09-12 07:58:23 UTC
Created attachment 39441 [details]
Lazy ebuild script
Comment 10 Marcelo V. Lima 2004-09-12 08:00:27 UTC
Thanks Patrick ;)
Lazy ebuild fixed
Comment 11 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-08 11:00:29 UTC
You should use econf and emake.
Comment 12 Ciaran McCreesh 2005-09-13 19:11:58 UTC
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