p5-digest-sha1: initial release, and now for real

This commit is contained in:
Han Boetes 2006-11-14 21:26:06 +01:00
parent 009922ef52
commit 566b551cb7
3 changed files with 40 additions and 0 deletions

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

@ -0,0 +1,15 @@
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/
-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

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

@ -0,0 +1,24 @@
# Description: Digest::SHA1
# Maintainer: Han Boetes <han@mijncomputer.nl>
# Depends on: perl
name=p5-digest-sha1
capsname=Digest-SHA1
version=2.11
release=1
source="http://www.cpan.org/authors/id/G/GA/GAAS/$capsname-$version.tar.gz"
build() {
cd $capsname-$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 | xargs rm
# Remove empty directories
find $PKG -depth -empty -exec rm -rf {} \;
}