]> git.tdb.fi Git - builder.git/blobdiff - source/sourcepackage.h
Move some file-related things from Target to FileTarget
[builder.git] / source / sourcepackage.h
index a60c9d2bee94509287f510b5849ed973f4a10b40..883bbf65f345fe70fea0551ab14864362ba67526 100644 (file)
@@ -27,10 +27,10 @@ class SourcePackage: public Package
 public:
        enum InstallFlags
        {
-               INCLUDE=1,
-               BIN=2,
-               LIB=4,
-               DATA=8
+               INCLUDE = 1,
+               BIN = 2,
+               LIB = 4,
+               DATA = 8
        };
 
        class Loader: public Package::Loader
@@ -41,11 +41,9 @@ public:
        private:
                virtual void finish();
                void feature(const std::string &, const std::string &);
+               template<Component::Type>
+               void component(const std::string &);
                void condition(const std::string &);
-               void program(const std::string &);
-               void library(const std::string &);
-               void module(const std::string &);
-               void headers(const std::string &);
                void build_info();
                void tarball(const std::string &);
                void tar_file(const std::string &);