1
0
forked from ports/contrib

p5-digest-sha1: New port.

This commit is contained in:
Jose V Beneyto 2008-03-04 20:55:19 +01:00
parent ce6001eb53
commit 3306a672f3
3 changed files with 42 additions and 0 deletions

16
p5-digest-sha1/.footprint Normal file
View File

@ -0,0 +1,16 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/perl5/
drwxr-xr-x root/root usr/lib/perl5/site_perl/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/linux/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/linux/Digest/
-r--r--r-- root/root usr/lib/perl5/site_perl/5.8.8/linux/Digest/SHA1.pm
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/linux/auto/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/linux/auto/Digest/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/linux/auto/Digest/SHA1/
-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/linux/auto/Digest/SHA1/.packlist
-r-xr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/linux/auto/Digest/SHA1/SHA1.so
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man3/
-r--r--r-- root/root usr/man/man3/Digest::SHA1.3pm.gz

1
p5-digest-sha1/.md5sum Normal file
View File

@ -0,0 +1 @@
2449bfe21d6589c96eebf94dae24df6b Digest-SHA1-2.11.tar.gz

25
p5-digest-sha1/Pkgfile Normal file
View File

@ -0,0 +1,25 @@
# Description: Perl Digest::SHA1
# URL: http://search.cpan.org/~gaas/Digest-SHA1-2.11/
# Maintainer: Jose V Beneyto, sepen at users dot soureforge dot net
# Packager: Han Boetes, han at mijncomputer dot nl
# Depends on: perl
name=p5-digest-sha1
version=2.11
release=1
source=(http://www.cpan.org/authors/id/G/GA/GAAS/Digest-SHA1-$version.tar.gz)
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 {} \;
}