]> git.tdb.fi Git - builder.git/blobdiff - source/package.h
Preliminary changelog entry for 2.0
[builder.git] / source / package.h
index 5c80779aa67d94aeb60ee0d8383ef993afd1bc22..8811390601c39ef2aa05b1ed201c7588ec667c34 100644 (file)
@@ -25,6 +25,7 @@ public:
        public:
                Loader(Package &);
        private:
+               void if_arch(const std::string &);
                void require(const std::string &);
        };
 
@@ -56,13 +57,12 @@ public:
        packages, populates build info and creates targets. */
        void prepare();
 
-       bool is_prepared() const { return prepared; }
 protected:
-       virtual void create_build_info() { }
-
-       virtual void create_targets() { }
+       virtual void do_prepare() { }
 
 public:
+       bool is_prepared() const { return prepared; }
+
        virtual void save_caches() { }
 };