#Maintainer: George Vlahavas pkgname=perl-digest-hmac pkgver=1.01 pkgrel=1gv arch=i486 source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-HMAC-$pkgver.tar.gz) docs=("readme" "install" "copying" "changelog*" "authors" "news" "todo" "license" "maintainers" "copyright.pod") slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "perl-digest-hmac (Keyed-Hashing for Message Authentication)" "Digest::HMAC is a Perl module that provides HMAC-MD5 hashing for" "message authentication." ) build() { cd $startdir/src/Digest-HMAC-$pkgver perl Makefile.PL || exit 1 make OPTIMIZE="$CFLAGS" || exit 1 make install INSTALLDIRS=vendor DESTDIR=$startdir/pkg || exit 1 # Remove perllocal.pod and .packlist if present in the package ( for i in perllocal.pod .packlist; do find $startdir/pkg -name "$i" -exec rm -rf {} \; done ) || exit 1 }