When writing ebuilds it can be a hassle to hunt down dependecies for the program and link them to the useflag that triggers them.
The point of this program is to help users write ebuilds by generating the useflags, dependecies and link useflags to dependecies for them. It is able to guess dependecies for packages that are not installed on the system.
Note that if the program that you try to generate the ebuild for is a simple "./configure && make && make install" project the generated ebuild should not need any edits to work
At this time the ebuild for the ebuild generator is not in portage, get it from the overlay dir on:
Lets say I want to generate an ebuild for the "moc" project (
$ genebuild --svn svn://daper.net/moc/trunk
It will go ahead and download the source code to
When it is done scanning source files it will try to link the includes it found in the source files to packages using qfile and the pfl online database.
After the generator is done it will place the generated ebuild in
Because the generator doesn't run anycode from the projects that it will generate an ebuild for, it is likely that there will be cases where it guesses wrong dependecies. There for it would be good to have a check that tells the uses if the generator pulled in any obsolete packages or missed some vital ones.
If the "auto dependency builder" by Alexander Bersenev doesn't get included in portage I'll try to implement it to solve this problem. That way my ebuild generator "guesses" and the auto dependency builder confirms if the generator has guessed right.
There is very basic support for pure makefile projects in the generator. But I've disabled it as it is not good enough yet to be useful.
Before I start to try supporting other stuff I have to flesh out the current support that I have. There is alot for missing features and/or incomplete features that needs to be done.
But after that I think I'll try to support scons/cmake and later perhaps python projects.
Please contact me with the email on this page or pm/ping me on IRC. I usually hang out in #gentoo-chat on freenode by the name "DarkDefender"
The source code is located on github