BSD Ports

devel/p5-InlineX-C2XS 0.27 FreeBSD

Perl module to create an XS file from an Inline C file

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
31.1 KiB, 72.7 KiB installed

Description

InlineX::C2XS - create an XS file from an Inline C file.

The C file that InlineX::C2XS needs to find would contain only the C code.

InlineX::C2XS looks for the file in ./src directory - expecting that the filename will be the same as what appears after the final '::' in the module name (with a '.c' extension). ie if the module is called My::Next::Mod it looks for a file ./src/Mod.c, and creates a file named Mod.xs. Also created, is the file 'INLINE.h' - but only if that file is needed. The generated xs file (and INLINE.h) will be written to the cwd unless a third argument (specifying a valid directory) is provided to the c2xs() function.

The created XS file, when packaged with the '.pm' file, an appropriate 'Makefile.PL', and 'INLINE.h' (if it's needed), can be used to build the module in the usual way - without any dependence upon the Inline::C module.

In the other systems

SystemPortVersion
FreeBSDdevel/p5-InlineX-C2XS0.27
NetBSDdevel/p5-InlineX-C2XS0.27nb4
DragonFlydevel/p5-InlineX-C2XS0.27
HardenedBSDdevel/p5-InlineX-C2XS0.27
GhostBSDdevel/p5-InlineX-C2XS0.27

Install

Binary package:

pkg install p5-InlineX-C2XS

From the ports tree:

cd /usr/ports/devel/p5-InlineX-C2XS/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-InlineX-C2XS>0:devel/p5-InlineX-C2XS

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.270.270.270.270.27
FreeBSD:14:quarterly0.270.27n/a0.270.27
FreeBSD:15:latest0.270.27n/a0.270.27
FreeBSD:15:quarterly0.270.27n/an/an/a
FreeBSD:16:latest0.270.27n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

Test 1

The full lists below include those, and their dependencies in turn.

Build dependencies 7
Run dependencies 7

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 6
  • bin/c2xs
  • %%SITE_PERL%%/InlineX/C2XS-Cookbook.pod
  • %%SITE_PERL%%/InlineX/C2XS.pm
  • %%SITE_PERL%%/InlineX/C2XS/Context.pm
  • %%PERL5_MAN3%%/InlineX::C2XS-Cookbook.3.gz
  • %%PERL5_MAN3%%/InlineX::C2XS.3.gz
distinfo 1
FileSizeSHA256
InlineX-C2XS-0.27.tar.gz311435745201f8f15bb710713f23efbc91776ea5034dbd5b6f0669e376117ca1da37f
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.