1 |
On Monday, May 31, 2010 15:12:46 Michał Górny wrote: |
2 |
> There are many simple applications which come without neither a |
3 |
> sophisticated build system or even a tiny Makefile. In some cases, such |
4 |
> applications aren't even packages as tarball -- a single, compressed |
5 |
> source file is published instead. |
6 |
> |
7 |
> In case of these applications, ebuilds inherit toolchain-funcs.eclass to |
8 |
> retrieve compiler information (tc-getCC/tc-getCXX) and call compiler |
9 |
> manually, passing appropriate flags. |
10 |
|
11 |
use emake then and leverage make's implicit rules. sys-apps/unscd is a pretty |
12 |
straight forward example. |
13 |
-mike |