Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
View Bug Activity | Format For Printing | XML | Clone This Bug
Construo is a 2d construction toy with objects that react on physical forces. Its similar to xspringies. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created an attachment (id=15320) [edit] construo-0.2.2.ebuild
Added to CVS. Thanks for the ebuild Rob. Notes for future ebuilds: Don't put S="${WORKDIR}/${P}" in ebuilds. That's the default. Only specify S when it's something different. For game and emulator ebuilds, just go ahead and start it off with x86 and skip ~x86. I just have to change it if you don't. For emake and make install, be sure to supply an error message for die. Those are external routines so the die is handled right there in the ebuild. I use emake || die "emake failed" and make install || "make install failed". Same thing for any sed usage. sed .... || die "sed blah failed". Keep up the great submissions Rob - you make my job easy. ;-)
Ok, thanks for the tips. I've been doing all these game ebuilds in an ebuild editor GUI I'm writing (shameless plug http://abeni.sf.net/) so I'll add some of this stuff into the next version, like leaving the default ${S} out of the ebuild. My program tries to detect ${S} after in unpacks, so that should be easy. If the ebuild category is 'app-games' it'll make it 'x86' automatically. And I'll just have to remember to use 'die' more often.