Alien-Libarchive-Installer
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/Alien/Libarchive/Installer.pm view on Meta::CPAN
else
{
# TODO: later when we know the version with more
# certainty, we can update this file with the
# Version
@content = join "\n", "prefix=\${pcfiledir}/../..",
"exec_prefix=\${prefix}",
"libdir=\${exec_prefix}/lib",
"includedir=\${prefix}/include",
"Name: libarchive",
"Description: library that can create and read several streaming archive formats",
"Cflags: -I\${includedir}",
"Libs: advapi32.lib \${libdir}/archive_static.lib",
"Libs.private: ",
"";
require File::Path;
File::Path::mkpath($pkg_config_dir, 0, 0755);
}
my($version) = map { /^Version:\s*(.*)$/; $1 } grep /^Version: /, @content;
# older versions apparently didn't include the necessary -I and -L flags
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.355 second using v1.00-cache-2.02-grep-82fe00e-cpan-9e6bc14194b )