]> git.tdb.fi Git - builder.git/blobdiff - source/pkgconfig.h
Move the Component reference to Target and make it a pointer
[builder.git] / source / pkgconfig.h
index f88e248cb4b5d3327a55a1d825383bf07eb7b83e..4b2505dcefa6213e9ccfef953c878f3771aaf6d4 100644 (file)
@@ -1,27 +1,18 @@
-/* $Id$
-
-This file is part of builder
-Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #ifndef PKGCONFIG_H_
 #define PKGCONFIG_H_
 
 #include "sourcepackage.h"
-#include "target.h"
+#include "filetarget.h"
 
 /**
 Creates a .pc file to enable other packages fetch build options with pkg-config.
 */
-class PkgConfig: public Target
+class PkgConfig: public FileTarget
 {
 public:
        PkgConfig(Builder &, const SourcePackage &);
-       const char *get_type() const { return "PkgConfig"; }
-       Action     *build();
-private:
-       const Package &pkg;
+
+       virtual const char *get_type() const { return "PkgConfig"; }
 };
 
 #endif