Better POD
[authen-passphrase-scrypt.git] / Makefile.PL
1 use 5.014000;
2 use ExtUtils::MakeMaker;
3
4 my @link_with = map { 'scrypt-1.2.1/'.$_ } qw,
5 lib/crypto/libscrypt_sse2_a-crypto_scrypt_smix_sse2.o
6 lib/crypto/crypto_scrypt.o
7 lib/crypto/crypto_scrypt_smix.o
8 lib/util/memlimit.o
9 libcperciva/alg/sha256.o
10 libcperciva/cpusupport/cpusupport_x86_aesni.o
11 libcperciva/cpusupport/cpusupport_x86_sse2.o
12 libcperciva/crypto/libcperciva_aesni_a-crypto_aes_aesni.o
13 libcperciva/crypto/crypto_aes.o
14 libcperciva/crypto/crypto_aesctr.o
15 libcperciva/crypto/crypto_entropy.o
16 libcperciva/util/asprintf.o
17 libcperciva/util/entropy.o
18 libcperciva/util/getopt.o
19 libcperciva/util/humansize.o
20 libcperciva/util/insecure_memzero.o
21 libcperciva/util/readpass.o
22 libcperciva/util/warnp.o,;
23
24 WriteMakefile(
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 => {
33 qw/Authen::Passphrase 0
34 Object::Tiny 0
35 Data::Entropy::Algorithms 0/,
36 },
37 TEST_REQUIRES => {
38 qw/Test::Exception 0/,
39 },
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
52 sub 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.020528 seconds and 4 git commands to generate.