Summary: | freecol ebuild (new package) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | lwillems <lars> |
Component: | New packages | Assignee: | Gentoo Games <games> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | dju, flash3001 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
URL: | http://freecol.sf.net | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
freecol-0.3.0.ebuild
freecol-0.3.0.ebuild freecol-0.3.0.ebuild |
Description
lwillems
2004-09-19 02:39:38 UTC
Created attachment 39902 [details]
freecol-0.3.0.ebuild
Comments: Move the JAVA_HOME check to pkg_setup Create the wrapper in src_unpack, not src_install call cp once in src_install set S to ${WORKDIR}/${PN} so you don't have to cd or refer to it use mirror://sourceforge in SRC_URI Created attachment 40881 [details] freecol-0.3.0.ebuild Made fixes as suggested at comment #2. RDEPEND="|| ( >=virtual/jdk-1.4 >=virtual/jre-1.4 )" is unneeded since all the jdk's provide a virtual/jre so just RDEPEND=">=virtual/jre-1.4" should be enough. Also, there's no need for cd ${S} in src_compile() AFAIK. About comment 4: how can a jre be enough? The FreeCol sourcecode is compiled during the ebuild so you would need a JDK to make it through the ebuild. Shouldn't it be: RDEPEND=">=virtual/jdk-1.4" > The FreeCol sourcecode is compiled during the ebuild so you would need a JDK to make it through the ebuild.
You're right... I missed the fact that you compile it... I thought it was binary only. In that case you should move the virtual/jdk to DEPEND and leave just the virtual/jre in RDEPEND... no sense on DEPEND-ing on the jdk.
Created attachment 45544 [details]
freecol-0.3.0.ebuild
The latest attachment should fix any remaining issues.
Note that the game will issue a warning that it can't load any music, but this
is normal because music will be added in the next release.
ok, since this comes with no docs to speak of, somebody clue me in on how this game is supposed to work. Seems unplayable at this point. games-strategy/freecol added to portage. Thanks for the bug report and ebuild. |