Helps to add the perl makefile. Bonus points for including a README
This commit is contained in:
parent
01c45d8453
commit
fab45fe044
2 changed files with 24 additions and 0 deletions
15
src/bindings/perl/Makefile.PL
Normal file
15
src/bindings/perl/Makefile.PL
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
use ExtUtils::MakeMaker;
|
||||
use File::Basename;
|
||||
use Config;
|
||||
|
||||
# Scons hack...
|
||||
chdir(dirname($0));
|
||||
|
||||
WriteMakefile(
|
||||
NAME => "hammer",
|
||||
LIBS => ["-lhammer"],
|
||||
OBJECT => 'hammer_wrap.o',
|
||||
INC => '-I../..',
|
||||
CCFLAGS => "$Config{ccflags} -DSWIG -DHAMMER_INTERNAL__NO_STDARG_H -std=gnu99",
|
||||
);
|
||||
|
||||
9
src/bindings/perl/README.md
Normal file
9
src/bindings/perl/README.md
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
Perl Hammer bindings
|
||||
====================
|
||||
|
||||
To build and run these bindings, you will need to have
|
||||
ExtUtils::MakeMaker and make installed. On a Debian system, this just
|
||||
means that you need perl installed. On a lesser Linux distribution,
|
||||
this may be all you need, but you're on your own. On Windows or
|
||||
another UNIX, you're *really* on your own (until we get PRs with
|
||||
better instructions).
|
||||
Loading…
Add table
Add a link
Reference in a new issue