blob: eed35fb675872dde2fbac0684ed4ca7686c3fd5b (
plain)
1 # Description: Perl Digest::SHA1
2 # URL: http://search.cpan.org/~gaas/Digest-SHA1-2.11/
3 # Maintainer: Jose V Beneyto, sepen at crux dot nu
4 # Packager: Han Boetes, han at mijncomputer dot nl
5 # Depends on: perl
6
7 name=p5-digest-sha1
8 version=2.12
9 release=1
10 source=(http://www.cpan.org/authors/id/G/GA/GAAS/Digest-SHA1-$version.tar.gz)
11
12 build() {
13 cd Digest-SHA1-$version
14 perl Makefile.PL
15 make OPTIMIZE="$CFLAGS"
16 make install DESTDIR=$PKG
17 # Remove perlcrap
18 find $PKG -name .packlist -or \
19 -name '*.bs' -or \
20 -name autosplit.ix -or \
21 -name perllocal.pod \
22 -exec rm -rf {} \;
23 # Remove empty directories
24 find $PKG -depth -empty -exec rm -rf {} \;
25 }
|