+void SourcePackage::Loader::headers(const string &n)
+{
+ IO::print("%s: Note: headers components are deprecated\n", get_source());
+ SourcePackage &spkg = static_cast<SourcePackage &>(pkg);
+ Component comp(spkg, Component::LIBRARY, n);
+ load_sub(comp);
+ const StringList &sources = comp.get_sources();
+ for(StringList::const_iterator i=sources.begin(); i!=sources.end(); ++i)
+ install_map[*i] = "include/"+comp.get_name();
+}
+