roger_lf n00b

Joined: 05 Jul 2011 Posts: 12
|
Posted: Wed Oct 24, 2012 4:41 pm Post subject: Is there an ebuild for openttd with cargodist? |
|
|
Hello all,
does anyone know if there is an overlay that has OpenTTD with cargodist (as in here: http://wiki.openttd.org/Passenger_and_cargo_distribution ).
I know that I could use git to pull it down and install localy, but I would prefer to keep everything tidy and do it through Portage. So far, I could not find an overlay that has this.
If such overlay doesn't exist, can someone help me write an ebuild for it? I know that I can have local overlays, but I have never wrote an ebuild. I guess I could just grab the normal games-simulation/openttd ebuild and just change from where to download (and save it on a local overlay with a different name, say games-simulation/openttd-cargodist). I guess I should just change this line in the ebuild:
| Code: | | SRC_URI="http://binaries.openttd.org/releases/${PV}/${P}-source.tar.gz" |
The thing is, the cargodist version uses git, and I don't know how to use it beyond "git clone"... So I don't know how to properly replace this line (and the variables PV and P also appear elsewhere in the ebuild, so I guess I would need to change those too).
Thanks for the help! |
|