1 #ifndef BINARYPACKAGE_H_
2 #define BINARYPACKAGE_H_
7 Represents a package that is installed on the system, but can't be built by
10 class BinaryPackage: public Package
13 class Loader: public Msp::DataFile::DerivedObjectLoader<BinaryPackage, Package::Loader>
16 Loader(BinaryPackage &);
19 void header(const std::string &);
22 typedef std::vector<std::string> Flags;
25 typedef std::list<std::string> HeaderList;
27 Msp::FS::Path base_path;
29 BuildInfo static_binfo;
32 BinaryPackage(Builder &, const std::string &);
34 const BuildInfo &get_static_build_info() const { return static_binfo; }
36 static BinaryPackage *from_flags(Builder &, const std::string &, const Flags &, const Flags & = Flags());
38 static void process_flags(const Flags &, BuildInfo &);
39 virtual void do_prepare();