# # Copyright (C) 2000,2001,2002,2003,2004 Mandrakesoft # # Author: Florent Villard # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # to prepare, create and burn iso images # package Mkcd::Functions; our $VERSION = '1.3.0'; use strict; use File::Path; use MDK::Common qw(substInFile); use File::NCopy qw(copy); use Mkcd::Tools qw(cpal du checkDiscs imageSize printDiscsFile config readBatchFile log_ convert_size compute_files_md5 fix_dir); use Mkcd::Package qw(mkcd_build_hdlist get_sorted_packages); =head1 NAME Functions - mkcd module =head1 SYNOPSYS require Mkcd::Functions; =head1 DESCRIPTION include the disc building standard functions. =head1 SEE ALSO mkcd =head1 COPYRIGHT Copyright (C) 2000,2001,2002,2003,2004 Mandrakesoft This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. =cut my (%functions, $config); # need to do it to have its address #my %functions = (); # [ function name, matching regexp, [arguments list (same as above)]] $functions{disc} = [ [ "", "disc", 5, "[options]