renamed a method, plus, building now fully works for deb's

This commit is contained in:
joey
2000-04-21 06:40:08 +00:00
parent eae03ee44d
commit aa4c9a8b71
4 changed files with 47 additions and 13 deletions

View File

@@ -160,7 +160,8 @@ sub init {}
=item install
Simply installs the package. This has to be overridden in child classes.
Simply installs a package file. The filename is passed on standard input.
This has to be overridden in child classes.
=cut
@@ -168,7 +169,7 @@ sub install {
my $this=shift;
}
=item read_file
=item scan
This method looks at the actual package file the package represents, and
populates all the fields it can from that package file. The filename field
@@ -179,7 +180,7 @@ something.)
=cut
sub read_file {
sub scan {
my $this=shift;
my $file=$this->filename;
@@ -221,6 +222,18 @@ to produce a suitable build tree.
sub prep {}
=item build
This method takes a prepped build tree, and simply builds a package from
it. It should put the package in the current directory, and should return
the filename of the generated package.
(This is just a stub method that all child classes should override.)
=cut
sub build {}
=item DESTROY
When an object is destroyed, it cleans some stuff up. In particular, if the