198f47b0fed1890a65552429fd815071b47e7cfb
[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/scryptenc/scryptenc.o
9 lib/scryptenc/scryptenc_cpuperf.o
10 lib/util/memlimit.o
11 libcperciva/alg/sha256.o
12 libcperciva/cpusupport/cpusupport_x86_aesni.o
13 libcperciva/cpusupport/cpusupport_x86_sse2.o
14 libcperciva/crypto/libcperciva_aesni_a-crypto_aes_aesni.o
15 libcperciva/crypto/crypto_aes.o
16 libcperciva/crypto/crypto_aesctr.o
17 libcperciva/crypto/crypto_entropy.o
18 libcperciva/util/asprintf.o
19 libcperciva/util/entropy.o
20 libcperciva/util/getopt.o
21 libcperciva/util/humansize.o
22 libcperciva/util/insecure_memzero.o
23 libcperciva/util/readpass.o
24 libcperciva/util/warnp.o,;
25
26 WriteMakefile(
27 NAME => 'Authen::Passphrase::Scrypt',
28 VERSION_FROM => 'lib/Authen/Passphrase/Scrypt.pm',
29 ABSTRACT_FROM => 'lib/Authen/Passphrase/Scrypt.pm',
30 AUTHOR => 'Marius Gavrilescu <marius@ieval.ro>',
31 MIN_PERL_VERSION => '5.14.0',
32 LICENSE => 'perl',
33 SIGN => 1,
34 PREREQ_PM => {
35 qw/Authen::Passphrase 0
36 Class::Accessor::Fast 0
37 Data::Entropy::Algorithms 0/,
38 },
39 INC => '-I. -Iscrypt-1.2.1',
40 LIBS => ['-lcrypto'],
41 MYEXTLIB => 'scrypt-1.2.1/libscrypt_sse2.a',
42 LDFROM => "\$(OBJECT) @link_with",
43 META_ADD => {
44 dynamic_config => 0,
45 resources => {
46 repository => 'https://git.ieval.ro/?p=authen-passphrase-scrypt.git',
47 },
48 }
49 );
50
51 sub MY::postamble {
52 '
53 $(MYEXTLIB): scrypt-1.2.1/configure
54 cd scrypt-1.2.1 && ./configure && `which gmake || echo $(MAKE)` CFLAGS+=-fPIC
55 '
56 }
This page took 0.044145 seconds and 3 git commands to generate.