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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-InlineX-C2XS | 0.27 |
| NetBSD | devel/p5-InlineX-C2XS | 0.27nb4 |
| DragonFly | devel/p5-InlineX-C2XS | 0.27 |
| HardenedBSD | devel/p5-InlineX-C2XS | 0.27 |
| GhostBSD | devel/p5-InlineX-C2XS | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.27 | 0.27 | 0.27 | 0.27 | 0.27 |
| FreeBSD:14:quarterly | 0.27 | 0.27 | n/a | 0.27 | 0.27 |
| FreeBSD:15:latest | 0.27 | 0.27 | n/a | 0.27 | 0.27 |
| FreeBSD:15:quarterly | 0.27 | 0.27 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.27 | 0.27 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
p5-Inline-C>=0.54: devel/p5-Inline-C
Runtime 1
p5-Inline-C>=0.54: devel/p5-Inline-C
Test 1
p5-Test-Warn>=0.24: devel/p5-Test-Warn
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
| File | Size | SHA256 |
|---|---|---|
| InlineX-C2XS-0.27.tar.gz | 31143 | 5745201f8f15bb710713f23efbc91776ea5034dbd5b6f0669e376117ca1da37f |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.