perl-ExtUtils-Depends-0.405-1.1.noarch.rpm


Advertisement

Description

perl-ExtUtils-Depends - Easily build XS extensions that depend on XS extensions

Property Value
Distribution openSUSE Leap 42.2
Repository openSUSE Oss all
Package name perl-ExtUtils-Depends
Package version 0.405
Package release 1.1
Package architecture noarch
Package type rpm
Installed size 37.75 KB
Download size 24.55 KB
Official Mirror ftp.gwdg.de
This module tries to make it easy to build Perl extensions that use
functions and typemaps provided by other perl extensions. This means that a
perl extension is treated like a shared library that provides also a C and
an XS interface besides the perl one.
This works as long as the base extension is loaded with the RTLD_GLOBAL
flag (usually done with a
sub dl_load_flags {0x01}
in the main .pm file) if you need to use functions defined in the module.
The basic scheme of operation is to collect information about a module in
the instance, and then store that data in the Perl library where it may be
retrieved later. The object can also reformat this information into the
data structures required by ExtUtils::MakeMaker's WriteMakefile function.
For information on how to make your module fit into this scheme, see
"hashref = ExtUtils::Depends::load (name)".
When creating a new Depends object, you give it a name, which is the name
of the module you are building. You can also specify the names of modules
on which this module depends. These dependencies will be loaded
automatically, and their typemaps, header files, etc merged with your new
object's stuff. When you store the data for your object, the list of
dependencies are stored with it, so that another module depending on your
needn't know on exactly which modules yours depends.
For example:
Gtk2 depends on Glib
Gnome2::Canvas depends on Gtk2
ExtUtils::Depends->new ('Gnome2::Canvas', 'Gtk2');
this command automatically brings in all the stuff needed
for Glib, since Gtk2 depends on it.
When the configuration information is saved, it also includes a class
method called 'Inline', inheritable by your module. This allows you in your
module to simply say at the top:
package Mymod;
use parent 'Mymod::Install::Files'; # to inherit 'Inline' method
And users of 'Mymod' who want to write inline code (using Inline) will
simply be able to write:
use Inline with => 'Mymod';
And all the necessary header files, defines, and libraries will be added
for them.
The 'Mymod::Install::Files' will also implement a 'deps' method, which will
return a list of any modules that 'Mymod' depends on - you will not
normally need to use this:
require Mymod::Install::Files;
@deps = Mymod::Install::Files->deps;

Alternatives

Package Version Architecture Repository
perl-ExtUtils-Depends - - -

Requires

Name Value
perl(:MODULE_COMPAT_5.18.2) -
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsLzma) <= 4.4.6-1

Provides

Name Value
perl(ExtUtils::Depends) = 0.405
perl-ExtUtils-Depends = 0.405-1.1

Download

Type URL
Binary Package perl-ExtUtils-Depends-0.405-1.1.noarch.rpm
Source Package perl-ExtUtils-Depends-0.405-1.1.src.rpm

Install Howto

Install perl-ExtUtils-Depends rpm package:

# zypper install perl-ExtUtils-Depends

See Also

Package Description
perl-ExtUtils-F77-1.17-108.1.x86_64.rpm Simple interface to F77 libs
perl-ExtUtils-Helpers-0.021-4.2.noarch.rpm Various portability utilities for module builders
perl-ExtUtils-InstallPaths-0.010-4.2.noarch.rpm Build.PL install path logic made easy
perl-ExtUtils-LibBuilder-0.04-4.2.noarch.rpm A tool to build C libraries
perl-ExtUtils-MakeMaker-7.10-1.1.noarch.rpm Create a module Makefile
perl-ExtUtils-MakeMaker-CPANfile-0.07-1.1.noarch.rpm Cpanfile Support for Eumm
perl-ExtUtils-MakeMaker-mini-1.0-6.1.noarch.rpm Dependency pkg for perl-ExtUtils-MakeMaker
perl-ExtUtils-Manifest-1.70-4.1.noarch.rpm utilities to write and check a MANIFEST file
perl-ExtUtils-PkgConfig-1.150000-4.1.noarch.rpm Simplistic Interface to Pkg-Config
perl-ExtUtils-Typemaps-Default-1.05-6.1.noarch.rpm A set of useful typemaps
perl-ExtUtils-XSpp-0.18-2.1.x86_64.rpm XS for C++
perl-FastCGI-2.4.0-171.5.x86_64.rpm A scalable, open extension to CGI
perl-Fennec-Lite-0.004-12.1.noarch.rpm Minimalist Fennec, the commonly used bits
perl-File-BaseDir-0.07-2.1.noarch.rpm Use the Freedesktop.org base directory specification
perl-File-Basename-Object-0.01-67.1.x86_64.rpm Object-oriented syntax sugar for File::Basename
Advertisement
Advertisement