2008-03-04 20:55:19 +01:00
|
|
|
# Description: Perl Digest::SHA1
|
|
|
|
# URL: http://search.cpan.org/~gaas/Digest-SHA1-2.11/
|
2009-05-25 12:34:49 +00:00
|
|
|
# Maintainer: Jose V Beneyto, sepen at crux dot nu
|
2008-03-04 20:55:19 +01:00
|
|
|
# Packager: Han Boetes, han at mijncomputer dot nl
|
|
|
|
# Depends on: perl
|
|
|
|
|
|
|
|
name=p5-digest-sha1
|
2010-08-18 08:12:48 +00:00
|
|
|
version=2.13
|
2008-03-04 20:55:19 +01:00
|
|
|
release=1
|
2010-08-18 08:12:48 +00:00
|
|
|
source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-SHA1-$version.tar.gz)
|
2008-03-04 20:55:19 +01:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd Digest-SHA1-$version
|
|
|
|
perl Makefile.PL
|
|
|
|
make OPTIMIZE="$CFLAGS"
|
|
|
|
make install DESTDIR=$PKG
|
|
|
|
# Remove perlcrap
|
|
|
|
find $PKG -name .packlist -or \
|
|
|
|
-name '*.bs' -or \
|
|
|
|
-name autosplit.ix -or \
|
|
|
|
-name perllocal.pod \
|
|
|
|
-exec rm -rf {} \;
|
|
|
|
# Remove empty directories
|
|
|
|
find $PKG -depth -empty -exec rm -rf {} \;
|
|
|
|
}
|