22 lines
539 B
Plaintext
22 lines
539 B
Plaintext
# Description: Keyed-Hashing for Message Authentication
|
|
# URL: http://search.cpan.org/
|
|
# Packager: pierre at nutyx dot org
|
|
# Depends on: perl perl-digest-sha1
|
|
run=( perl )
|
|
name=perl-digest-hmac
|
|
version=1.03
|
|
release=1
|
|
|
|
source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-HMAC-$version.tar.gz)
|
|
|
|
build() {
|
|
cd Digest-HMAC-$version
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
|
make
|
|
make DESTDIR=$PKG install
|
|
find $PKG \
|
|
-name '*.bs' -or \
|
|
-name .packlist -or \
|
|
-name perllocal.pod | xargs rm
|
|
}
|