summaryrefslogtreecommitdiff
path: root/p5-digest-sha1/Pkgfile
blob: 6148c79fd394d7e617025a98e4f29209ab6ff3b3 (plain)
    1 # Description: Perl Digest::SHA1
    2 # URL: http://search.cpan.org/~gaas/Digest-SHA1-2.11/
    3 # Maintainer: Jose V Beneyto, sepen at crux dot nu
    4 # Packager: Han Boetes, han at mijncomputer dot nl
    5 # Depends on: perl
    6 
    7 name=p5-digest-sha1
    8 version=2.13
    9 release=1
   10 source=(http://www.cpan.org/modules/by-module/Digest/Digest-SHA1-$version.tar.gz)
   11 
   12 build() {
   13   cd Digest-SHA1-$version
   14 
   15   perl Makefile.PL
   16   make OPTIMIZE="$CFLAGS"
   17 
   18   make install DESTDIR=$PKG
   19 
   20   # Remove perlcrap
   21   find $PKG -name .packlist -or \
   22             -name '*.bs' -or \
   23             -name autosplit.ix -or \
   24             -name perllocal.pod \
   25             -exec rm -rf {} \;
   26   # Remove empty directories
   27   find $PKG -depth -empty -exec rm -rf {} \;
   28 }

Generated by cgit