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 Package::Loader
16 Loader(BinaryPackage &);
17 BinaryPackage &get_object() { return static_cast<BinaryPackage &>(pkg); }
27 BinaryPackage(Builder &, const std::string &);
30 Sets the path where the package's files were installed. This is only useful
31 if the package doesn't use pkg-config.
33 void set_path(const Msp::FS::Path &);
35 bool get_need_path() const { return need_path; }
37 static BinaryPackage *from_pkgconfig(Builder &, const std::string &);
39 virtual void create_build_info();