- Package(Builder &, const std::string &, const std::vector<std::string> &);
- const std::string &get_name() const { return name; }
- const Msp::Path::Path &get_source() const { return source; }
- const ComponentList &get_components() const { return components; }
- bool get_buildable() const { return buildable; }
- const Config &get_config() const { return config; }
- const std::list<PackageRef> &get_requires() const { return requires; }
- const BuildInfo &get_build_info() const { return build_info; }
+ void set_path(const Msp::Path::Path &);
+ const std::string &get_name() const { return name; }
+ const std::string &get_version() const { return version; }
+ const std::string &get_description() const { return description; }
+ const Msp::Path::Path &get_source() const { return source; }
+ Msp::Path::Path get_temp_dir() const;
+ Msp::Path::Path get_out_dir() const;
+ Msp::Path::Path get_prefix() const { return config.get_option("prefix").value; }
+ const ComponentList &get_components() const { return components; }
+ bool get_buildable() const { return buildable; }
+ const Config &get_config() const { return config; }
+ const PkgRefList &get_requires() const { return requires; }
+ const BuildInfo &get_build_info() const { return build_info; }