Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63339 - new ebuild for new game anagramarama
Summary: new ebuild for new game anagramarama
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-08 12:27 UTC by Greg Watson (linuxkrn)
Modified: 2004-09-08 15:56 UTC (History)
0 users

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


Attachments
anagramarama-0.2.ebuild (anagramarama-0.2.ebuild,1.34 KB, text/plain)
2004-09-08 12:28 UTC, Greg Watson (linuxkrn)
Details
Send Edit (anagramarama-0.2.ebuild,1.52 KB, text/plain)
2004-09-08 14:55 UTC, Greg Watson (linuxkrn)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Watson (linuxkrn) 2004-09-08 12:27:52 UTC
Created a new ebuild for 0.2 of the game anagramarama.

games-puzzle/anagramarama
      Size of downloaded files: 841 kB
      Homepage:    http://www.coralquest.com/anagramarama/
      Description: Create as many words as you can before the time runs out
      License:     GPL
Comment 1 Greg Watson (linuxkrn) 2004-09-08 12:28:25 UTC
Created attachment 39213 [details]
anagramarama-0.2.ebuild

anagramarama-0.2.ebuild
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2004-09-08 13:28:29 UTC
Couple tweaks please:

add S="${WORKDIR}/${PN}" so you don't have to cd in all the functions
put the datafiles in "${GAMES_DATADIR}/${PN}"
use newgamesbin in src_install instead of the mv in src_compile - eliminate src_compile completely from the ebuild since it won't be needed anymore.
change the dodir/doins thing in src_install to dodir .... ; cp -r ... || die...
Comment 3 Greg Watson (linuxkrn) 2004-09-08 14:26:11 UTC
I made most of those changes, however, the dodir creates a dir in $D (image dir) not on the final install place.  So when the cp(s) are run, the directory isn't there yet.

Did you want to use mkdir instead of dodir also?  Or am I missing something else...
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2004-09-08 14:38:19 UTC
yeah, the cp needs to do something like cp -r .... "${D}${GAMES_DATADIR}/${PN}"
Comment 5 Greg Watson (linuxkrn) 2004-09-08 14:55:10 UTC
Created attachment 39219 [details]
Send Edit
Comment 6 Mr. Bones. (RETIRED) gentoo-dev 2004-09-08 15:56:48 UTC
Close enough.  Check the ebuild in portage for final polishing for future ebuilds.

games-puzzle/anagramarama added to CVS.  Thanks for the bug report and ebuild.