X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fpkgconfig.h;h=20e5fbfaac88380040283198ed7f42cdc4429cee;hb=8d636197d4adf5e882e51ffd2ff86d959dd82d6b;hp=2ddcce8e1356c73c25681a0f3a7dfda48d5111ef;hpb=6613371a07a1a9a8d5dead488092015261a9bf5f;p=builder.git diff --git a/source/pkgconfig.h b/source/pkgconfig.h index 2ddcce8..20e5fbf 100644 --- a/source/pkgconfig.h +++ b/source/pkgconfig.h @@ -1,6 +1,14 @@ +/* $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" /** @@ -9,11 +17,12 @@ Creates a .pc file to enable other packages fetch build options with pkg-config. class PkgConfig: public Target { public: - PkgConfig(Builder &, const Package &); + PkgConfig(Builder &, const SourcePackage &); const char *get_type() const { return "PkgConfig"; } - Action *build(); private: const Package &pkg; + + virtual Action *create_action(); }; #endif