Better POD
[authen-passphrase-scrypt.git] / Makefile.PL
CommitLineData
0c1f3509
MG
1use 5.014000;
2use ExtUtils::MakeMaker;
3
4my @link_with = map { 'scrypt-1.2.1/'.$_ } qw,
5lib/crypto/libscrypt_sse2_a-crypto_scrypt_smix_sse2.o
6lib/crypto/crypto_scrypt.o
7lib/crypto/crypto_scrypt_smix.o
0c1f3509
MG
8lib/util/memlimit.o
9libcperciva/alg/sha256.o
10libcperciva/cpusupport/cpusupport_x86_aesni.o
11libcperciva/cpusupport/cpusupport_x86_sse2.o
12libcperciva/crypto/libcperciva_aesni_a-crypto_aes_aesni.o
13libcperciva/crypto/crypto_aes.o
14libcperciva/crypto/crypto_aesctr.o
15libcperciva/crypto/crypto_entropy.o
16libcperciva/util/asprintf.o
17libcperciva/util/entropy.o
18libcperciva/util/getopt.o
19libcperciva/util/humansize.o
20libcperciva/util/insecure_memzero.o
21libcperciva/util/readpass.o
22libcperciva/util/warnp.o,;
23
24WriteMakefile(
25 NAME => 'Authen::Passphrase::Scrypt',
26 VERSION_FROM => 'lib/Authen/Passphrase/Scrypt.pm',
27 ABSTRACT_FROM => 'lib/Authen/Passphrase/Scrypt.pm',
28 AUTHOR => 'Marius Gavrilescu <marius@ieval.ro>',
29 MIN_PERL_VERSION => '5.14.0',
30 LICENSE => 'perl',
31 SIGN => 1,
32 PREREQ_PM => {
c03ebc79
MG
33 qw/Authen::Passphrase 0
34 Object::Tiny 0
0c1f3509
MG
35 Data::Entropy::Algorithms 0/,
36 },
b68c60ff
MG
37 TEST_REQUIRES => {
38 qw/Test::Exception 0/,
39 },
0c1f3509
MG
40 INC => '-I. -Iscrypt-1.2.1',
41 LIBS => ['-lcrypto'],
42 MYEXTLIB => 'scrypt-1.2.1/libscrypt_sse2.a',
43 LDFROM => "\$(OBJECT) @link_with",
44 META_ADD => {
45 dynamic_config => 0,
46 resources => {
47 repository => 'https://git.ieval.ro/?p=authen-passphrase-scrypt.git',
48 },
49 }
50);
51
52sub MY::postamble {
53'
54$(MYEXTLIB): scrypt-1.2.1/configure
55 cd scrypt-1.2.1 && ./configure && `which gmake || echo $(MAKE)` CFLAGS+=-fPIC
56'
57}
This page took 0.012545 seconds and 4 git commands to generate.