3 This file is part of builder
4 Copyright © 2007-2009 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
8 #include "sourcepackage.h"
14 TarBall::TarBall(Builder &b, const SourcePackage &p, const string &n):
15 FileTarget(b, &p, p.get_source()/(n+".tar"))
20 const SourcePackage *TarBall::get_package() const
22 return static_cast<const SourcePackage *>(package);
25 Action *TarBall::create_action()
27 return new Tar(builder, *this);