summaryrefslogtreecommitdiff
path: root/p5-digest-sha1/Pkgfile
diff options
context:
space:
mode:
authorHan Boetes <han@mijncomputer.nl>2006-11-14 21:26:06 +0100
committerHan Boetes <han@mijncomputer.nl>2006-11-14 21:26:06 +0100
commit566b551cb7066ae547630bec659517d7398179d4 (patch)
tree039f50f72c42b557e5cc0fbded25cf9d09d9b118 /p5-digest-sha1/Pkgfile
parent009922ef5286966d5743d2c75240d3c7431aaa2f (diff)
downloadcontrib-566b551cb7066ae547630bec659517d7398179d4.tar.gz
contrib-566b551cb7066ae547630bec659517d7398179d4.tar.xz
p5-digest-sha1: initial release, and now for real
Diffstat (limited to 'p5-digest-sha1/Pkgfile')
-rw-r--r--p5-digest-sha1/Pkgfile24
1 files changed, 24 insertions, 0 deletions
diff --git a/p5-digest-sha1/Pkgfile b/p5-digest-sha1/Pkgfile
new file mode 100644
index 000000000..dc9b5f527
--- /dev/null
+++ b/p5-digest-sha1/Pkgfile
@@ -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 {} \;
+}

Generated by cgit