The rewrite can convert from rpm to deb -- this is getting exciting!

This commit is contained in:
joey
2000-04-21 06:16:26 +00:00
parent a13d726fef
commit eae03ee44d
9 changed files with 324 additions and 48 deletions

View File

@@ -79,10 +79,19 @@ A longer description of the package. May contain multiple paragraphs.
A short statement of copyright.
=item origformat
What format the package was originally in.
=item distribution
What distribution family the package originated from.
=item binary_info
Whatever the package's package tool says when told to display info about
the package.
=item conffiles
A reference to a list of all the conffiles in the package.
@@ -91,6 +100,10 @@ A reference to a list of all the conffiles in the package.
A reference to a list of all the files in the package.
=item changelogtext
The text of the changelog
=item postinst
The postinst script of the package.
@@ -195,6 +208,19 @@ sub unpack {
$this->unpacked_tree($workdir);
}
=item prep
This method causes the object to prepare a build tree to be used in
building the object. It expects that the unpack method has already been
called. It takes the tree generated by that method, and mangles it somehow,
to produce a suitable build tree.
(This is just a stub method that all child classes should override.)
=cut
sub prep {}
=item DESTROY
When an object is destroyed, it cleans some stuff up. In particular, if the