summaryrefslogtreecommitdiffstats
path: root/cpan2tgz
diff options
context:
space:
mode:
Diffstat (limited to 'cpan2tgz')
-rwxr-xr-xcpan2tgz16
1 files changed, 2 insertions, 14 deletions
diff --git a/cpan2tgz b/cpan2tgz
index 9ef9a2d..77c20f3 100755
--- a/cpan2tgz
+++ b/cpan2tgz
@@ -38,8 +38,6 @@ usage() unless
"recursive" => \$recursive,
"ignoreinstalled" => \$ignore_installed_deps,
"install" => \$install_after_building,
- "tmp" => \$tmp_dir,
- "pkgdir" => \$package_dir,
);
usage() unless (scalar(@ARGV) > 0);
@@ -70,7 +68,7 @@ sub do_package {
}
$pkg_name .= "-1.tgz";
- my $dest_dir = $tmp_dir . $module->id();
+ my $dest_dir = $tmp_dir . '/' . $module->id();
if( exists $PACKAGE_CACHE_LIST{$module->id()} || exists $PACKAGE_CACHE_LIST{$final_pkg_name} ){
print STDERR "\n\n",$module->id(),"/",$final_pkg_name,
@@ -241,8 +239,6 @@ sub usage {
print " --ignoreinstalled build installed required modules even if present","\n";
print " on the system. This only works with --recursive\n";
print " --install always install the generated package\n";
- print " --tmp temporary build directory (default /tmp)\n";
- print " --pkgdir location to place generated packages (default /usr/src)\n";
exit(1);
}
@@ -266,7 +262,7 @@ cpan2tgz - create Slackware GNU/Linux packages from CPAN Perl module distributio
cpan2tgz [option(s)] [module(s)]
-options: [--recursive] [--ignoreinstalled] [--install] [--tmp] [--pkgdir]
+options: [--recursive] [--ignoreinstalled] [--install]
=head1 DESCRIPTION
@@ -288,14 +284,6 @@ This option specifies to build packages for required modules even if the module
Always install the generated package. This is useful with --recursive to satisfy dependencies.
-=item B<--tmp>
-
-Temporary build directory (default /tmp)
-
-=item B<--pkgdir>
-
-Location to place generated packages (default /usr/src)
-
=item B<module(s)>
A series of Perl modules to install, ie Data::Dumper