3 This file is part of builder
4 Copyright © 2007-2009 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
8 #ifndef BINARYPACKAGE_H_
9 #define BINARYPACKAGE_H_
14 Represents a package that is installed on the system, but can't be built by
17 class BinaryPackage: public Package
20 class Loader: public Package::Loader
23 Loader(BinaryPackage &);
24 BinaryPackage &get_object() { return static_cast<BinaryPackage &>(pkg); }
34 BinaryPackage(Builder &, const std::string &);
37 Sets the path where the package's files were installed. This is only useful
38 if the package doesn't use pkg-config.
40 void set_path(const Msp::FS::Path &);
42 bool get_need_path() const { return need_path; }
44 static BinaryPackage *from_pkgconfig(Builder &, const std::string &);
46 virtual void create_build_info();