6 Component::Component(Package &p, Type t, const string &n):
12 void Component::create_build_info()
14 build_info=pkg.get_build_info();
18 Component::Loader::Loader(Component &c):
21 add("source", &Loader::source);
22 add("install", &Component::install);
23 add("install_headers", &Component::install_headers);
26 void Component::Loader::source(const string &s)
28 comp.sources.push_back(comp.pkg.get_source()/s);