Reputation: 820
My company has policies against using Perl modules which are not in Debian/Ubuntu's repositories. To "import" a non-xs module into my project/repo, it's usually just a matter of copying over the .pm files and putting them in the appropriate directory in lib/. Then I can use
as if I'd cpan installed it.
But what do I do for an XS module? How do I "pre-compile" and to where should I copy over the .so and other XS related files? If you look, for example, at Ubuntu's DBD-SQLite package contents here, it seems like it should definitely be possible.
Upvotes: 1
Views: 79
Reputation: 6998
You should look into dh-make-perl for making .deb
packages of your perl modules. That way you can install them like a regular shipped module.
You should also read Building Debian packages of Perl modules
Upvotes: 1