blob: e14c500ad35d2eb1e35e19d691bdd9a9dd340673 (
plain)
1 # Description: Digest::SHA1 - Perl interface to the SHA-1 algorithm
2 # URL: http://search.cpan.org/~gaas/Digest-SHA1-2.10/
3 # Maintainer: Jukka Heino, jukka dot heino at gmail dot com
4 # Packager: Jukka Heino, jukka dot heino at gmail dot com
5 # Depends on:
6
7 name=p5-digest-sha1
8 version=2.10
9 release=2
10 source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-SHA1-$version.tar.gz)
11
12 build() {
13 cd Digest-SHA1-$version
14 perl Makefile.PL
15
16 make
17 make DESTDIR=$PKG install
18
19 rm -rf $PKG/usr/lib/perl5/5.8.? \
20 $PKG/usr/lib/perl5/site_perl/5.8.?/linux/auto/Digest/SHA1/.packlist \
21 $PKG/usr/lib/perl5/site_perl/5.8.?/linux/auto/Digest/SHA1/SHA1.bs
22
23 chmod -R +w $PKG
24 }
|