]> git.tdb.fi Git - builder.git/blob - source/tarball.h
04cd661eb7995a88c9187b2db27e5761cf980a93
[builder.git] / source / tarball.h
1 /* $Id$
2
3 This file is part of builder
4 Copyright © 2007 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
6 */
7
8 #ifndef TARBALL_H_
9 #define TARBALL_H_
10
11 #include "target.h"
12
13 class TarBall: public Target
14 {
15 public:
16         TarBall(Builder &, const SourcePackage &, const std::string & =std::string());
17         virtual const char *get_type() const { return "TarBall"; }
18         const SourcePackage *get_package() const;
19         virtual void find_depends();
20         virtual Action *build();
21 private:
22         std::string tarname;
23
24         std::string create_target_name(const SourcePackage &, const std::string &);
25 };
26
27 #endif