]> git.tdb.fi Git - builder.git/blobdiff - source/package.h
Add tarball building
[builder.git] / source / package.h
index 75ef358f2c2d675150a10fa04cc546e590f6be5c..1aebf163865a98c290d5a668a55cf8ffc790b9d3 100644 (file)
@@ -1,3 +1,10 @@
+/* $Id$
+
+This file is part of builder
+Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions
+Distributed under the LGPL
+*/
+
 #ifndef PACKAGE_H_
 #define PACKAGE_H_
 
@@ -50,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 &);
@@ -73,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);
 
@@ -95,6 +104,7 @@ private:
        ComponentList components;
        Config        config;
        bool          conf_done;
+       PathList      tar_files;
 
        bool          use_pkgconfig;
        bool          need_path;