Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Is there an ebuild for openttd with cargodist?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
roger_lf
n00b
n00b


Joined: 05 Jul 2011
Posts: 12

PostPosted: Wed Oct 24, 2012 4:41 pm    Post subject: Is there an ebuild for openttd with cargodist? Reply with quote

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!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum