Alien::Build::Plugin::Fetch::Local - Plugin for fetching a local file
Contents
Copyright And License
This software is copyright (c) 2011-2022 by Graham Ollis.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5
programming language system itself.
perl v5.40.0 2024-11-15 Alien::Build::P...n::Fetch::Local(3pm)
Description
Note: in most case you will want to use Alien::Build::Plugin::Download::Negotiate instead. It picks the
appropriate fetch plugin based on your platform and environment. In some cases you may need to use this
plugin directly instead.
This fetch plugin fetches files from the local file system. It is mostly useful if you intend to bundle
packages (as tarballs or zip files) with your Alien. If you intend to bundle a source tree, use
Alien::Build::Plugin::Fetch::LocalDir.
Name
Alien::Build::Plugin::Fetch::Local - Plugin for fetching a local file
Properties
url
The initial URL to fetch. This may be a "file://" style URL, or just the path on the local system.
root
The directory from which the URL should be relative. The default is usually reasonable.
ssl
This property is for compatibility with other fetch plugins, but is not used.
See Also
Alien::Build::Plugin::Download::Negotiate
Alien::Build::Plugin::Fetch::LocalDir
Alien::Build
alienfile
Alien::Build::MM
Alien
Synopsis
use alienfile;
share {
start_url 'patch/libfoo-1.00.tar.gz';
plugin 'Fetch::Local';
};
Version
version 2.84
