Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 64874

Summary: Fortune-mod-it ebuild
Product: Gentoo Linux Reporter: mambro <mambro87>
Component: New packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: 2004.2   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: fortune-mod-it-1.51.ebuild
fortune-mod-it-1.51-r1.ebuild

Description mambro 2004-09-21 10:05:51 UTC
DESCRIPTION="Database of the Italian cookies for the fortune program"
HOMEPAGE="http://www.orson.it/~fedeliallalinea/"
SRC_URI="http://www.orson.it/~fedeliallalinea/${P}.tar.gz"

LICENSE=""
SLOT="0"
KEYWORDS="x86"
IUSE=""

DEPEND="games-misc/fortune-mod"
REDEPEND="${DEPEND}"
RESTRICT="nomirror"

src_unpack() {
        unpack ${A}
}

src_compile() {
        strfile -s italia || die "strfile italia failed"
        strfile -s zozzital || die "strfile zozzital failed"
}

src_install() {
        insinto /usr/share/fortune
        doins italia* zozzital*
}
Comment 1 mambro 2004-09-21 10:08:31 UTC
Created attachment 40102 [details]
fortune-mod-it-1.51.ebuild
Comment 2 mambro 2004-09-21 10:09:24 UTC
Comment on attachment 40102 [details]
fortune-mod-it-1.51.ebuild 

Ebuild for italian fortunes
Comment 3 mambro 2004-09-21 10:24:24 UTC
Comment on attachment 40102 [details]
fortune-mod-it-1.51.ebuild 

>DESCRIPTION="Database of the Italian cookies for the fortune program"
>HOMEPAGE="http://www.orson.it/~fedeliallalinea/"
>SRC_URI="http://www.orson.it/~fedeliallalinea/${P}.tar.gz"
>
>LICENSE="I don't know"
>SLOT="0"
>KEYWORDS="x86"
>IUSE=""
>
>DEPEND="games-misc/fortune-mod"
>REDEPEND="${DEPEND}"
>RESTRICT="nomirror"
>
>src_unpack() {
>	unpack ${A}
>}
>
>src_compile() {
>	strfile -s italia || die "strfile italia failed"
>	strfile -s zozzital || die "strfile zozzital failed"
>}
>
>src_install() {
>	insinto /usr/share/fortune
>	doins italia* zozzital*
>}
Comment 4 mambro 2004-09-21 10:25:26 UTC
Comment on attachment 40102 [details]
fortune-mod-it-1.51.ebuild 

>DESCRIPTION="Database of the Italian cookies for the fortune program"
>HOMEPAGE="http://www.orson.it/~fedeliallalinea/"
>SRC_URI="http://www.orson.it/~fedeliallalinea/${P}.tar.gz"
>
>LICENSE="I don't know"
>SLOT="0"
>KEYWORDS="x86"
>IUSE=""
>
>DEPEND="games-misc/fortune-mod"
>REDEPEND="${DEPEND}"
>RESTRICT="nomirror"
>
>src_unpack() {
>	unpack ${A}
>}
>
>src_compile() {
>	strfile -s italia || die "strfile italia failed"
>	strfile -s zozzital || die "strfile zozzital failed"
>}
>
>src_install() {
>	insinto /usr/share/fortune
>	doins italia* zozzital*
>}
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2004-09-21 17:15:00 UTC
needs lots of work:

Make the header the same as header.txt
fix the LICENSE to be something.  It can't go into portage without one.
Take out the RDEPEND and RESTRICT lines
Take out the src_unpack function

Stop editing the attachment and just attach new ones please.
Comment 6 mambro 2004-09-22 09:17:12 UTC
Created attachment 40169 [details]
fortune-mod-it-1.51-r1.ebuild
Comment 7 mambro 2004-09-22 09:21:16 UTC
Sorry for problems with the edit of attachment, It's the first time I submit an ebuild :-)

The ebuild wasn't written by me. The author is fedeliallalinea form the italian gentoo forum.

This is the discussion about this ebuild
http://forums.gentoo.org/viewtopic.php?t=225439&sid=16548436d2be4adb2b09d4a104c81d0e

Bye
Comment 8 Mr. Bones. (RETIRED) gentoo-dev 2004-09-25 04:27:18 UTC
Added to portage.  Not added to fortune-mod-all since it's not universally desired.