]>
Commit | Line | Data |
---|---|---|
11450127 MT |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = perl-Digest-SHA1 | |
7 | version = 2.13 | |
958fb393 | 8 | release = 3 |
11450127 MT |
9 | thisapp = Digest-SHA1-%{version} |
10 | ||
11 | groups = Development/Libraries | |
12 | url = http://search.cpan.org/dist/Digest-SHA1 | |
13 | license = GPL+ or Artistic | |
14 | summary = Digest-SHA1 Perl module. | |
15 | ||
16 | description | |
17 | The Digest::SHA1 module allows you to use the NIST SHA-1 message | |
18 | digest algorithm from within Perl programs. The algorithm takes as | |
19 | input a message of arbitrary length and produces as output a 160-bit | |
20 | "fingerprint" or "message digest" of the input. | |
21 | ||
22 | The Digest::SHA1 module provide a procedural interface for simple use, | |
23 | as well as an object oriented interface that can handle messages of | |
24 | arbitrary length and which can read files directly. | |
25 | ||
26 | A binary digest will be 20 bytes long. A hex digest will be 40 | |
27 | characters long. A base64 digest will be 27 characters long. | |
28 | end | |
29 | ||
30 | source_dl = http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/ | |
31 | ||
32 | build | |
33 | requires | |
34 | perl(ExtUtils::MakeMaker) | |
958fb393 | 35 | perl(ExtUtils::ParseXS) |
11450127 MT |
36 | end |
37 | ||
38 | build | |
39 | perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}" | |
40 | make %{PARALLELISMFLAGS} | |
41 | end | |
42 | ||
317c6046 | 43 | make_install_targets = pure_install |
11450127 MT |
44 | end |
45 | ||
46 | packages | |
47 | package %{name} | |
48 | ||
49 | package %{name}-debuginfo | |
50 | template DEBUGINFO | |
51 | end | |
52 | end |