X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fpackage.h;h=1aebf163865a98c290d5a668a55cf8ffc790b9d3;hb=ab25857fd626152bc9a2832de82b400c062857e6;hp=75ef358f2c2d675150a10fa04cc546e590f6be5c;hpb=445edbc3c42bbd7880cc414cf153ddfd196bfc1c;p=builder.git diff --git a/source/package.h b/source/package.h index 75ef358..1aebf16 100644 --- a/source/package.h +++ b/source/package.h @@ -1,3 +1,10 @@ +/* $Id$ + +This file is part of builder +Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions +Distributed under the LGPL +*/ + #ifndef PACKAGE_H_ #define PACKAGE_H_ @@ -50,6 +57,7 @@ public: void module(const std::string &); void headers(const std::string &); void build_info(); + void tar_file(const std::string &); }; Package(Builder &, const std::string &, const Msp::Path::Path &); @@ -73,6 +81,7 @@ public: bool get_use_pkgconfig() const { return use_pkgconfig; } const std::string &get_arch() const { return config.get_option("arch").value; } LibMode get_library_mode() const; + const PathList &get_tar_files() const { return tar_files; } void resolve_refs(); void configure(const StringMap &, unsigned); @@ -95,6 +104,7 @@ private: ComponentList components; Config config; bool conf_done; + PathList tar_files; bool use_pkgconfig; bool need_path;