]> git.tdb.fi Git - builder.git/blobdiff - source/package.h
Add tarball building
[builder.git] / source / package.h
index 0bd678a9c77a01ff4391eabc296e46c3e9d33733..1aebf163865a98c290d5a668a55cf8ffc790b9d3 100644 (file)
@@ -57,6 +57,7 @@ public:
                void module(const std::string &);
                void headers(const std::string &);
                void build_info();
+               void tar_file(const std::string &);
        };
 
        Package(Builder &, const std::string &, const Msp::Path::Path &);
@@ -80,6 +81,7 @@ public:
        bool                get_use_pkgconfig() const   { return use_pkgconfig; }
        const std::string   &get_arch() const           { return config.get_option("arch").value; }
        LibMode             get_library_mode() const;
+       const PathList      &get_tar_files() const      { return tar_files; }
        void                resolve_refs();
        void                configure(const StringMap &, unsigned);
 
@@ -102,6 +104,7 @@ private:
        ComponentList components;
        Config        config;
        bool          conf_done;
+       PathList      tar_files;
 
        bool          use_pkgconfig;
        bool          need_path;