]> git.tdb.fi Git - builder.git/blobdiff - source/sourcepackage.h
Install shared libs correctly even if they have no soname
[builder.git] / source / sourcepackage.h
index a60c9d2bee94509287f510b5849ed973f4a10b40..e170399aa4ab14db6abd94a3b7bc1f17f884db66 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 &);
@@ -56,13 +54,11 @@ private:
        std::string description;
 
        Msp::FS::Path source;
-       PackageList base_reqs;
        FeatureList features;
        BuildInfo build_info;
        ConditionList conditions;
        ComponentList components;
        Config config;
-       bool conf_done;
        mutable DependencyCache deps_cache;
 
 public: