]> git.tdb.fi Git - builder.git/blobdiff - source/sourcepackage.h
Add a tarball component type
[builder.git] / source / sourcepackage.h
index b8750ee393f3d0946818297c58301840edd5f54e..a60c9d2bee94509287f510b5849ed973f4a10b40 100644 (file)
@@ -39,6 +39,7 @@ public:
                Loader(Package &);
                SourcePackage &get_object() { return static_cast<SourcePackage &>(pkg); }
        private:
+               virtual void finish();
                void feature(const std::string &, const std::string &);
                void condition(const std::string &);
                void program(const std::string &);
@@ -46,6 +47,7 @@ public:
                void module(const std::string &);
                void headers(const std::string &);
                void build_info();
+               void tarball(const std::string &);
                void tar_file(const std::string &);
        };
 
@@ -62,7 +64,6 @@ private:
        Config config;
        bool conf_done;
        mutable DependencyCache deps_cache;
-       PathList tar_files;
 
 public:
        SourcePackage(Builder &, const std::string &, const Msp::FS::Path &);
@@ -83,7 +84,6 @@ public:
        unsigned get_install_flags();
 
        LibMode get_library_mode() const;
-       const PathList &get_tar_files() const { return tar_files; }
        DependencyCache &get_deps_cache() const { return deps_cache; }
 private:
        virtual void do_configure(const StringMap &, unsigned);