summaryrefslogtreecommitdiff
path: root/finance/p5-Algorithm-LUHN
diff options
context:
space:
mode:
Diffstat (limited to 'finance/p5-Algorithm-LUHN')
-rw-r--r--finance/p5-Algorithm-LUHN/DESCR7
-rw-r--r--finance/p5-Algorithm-LUHN/Makefile18
-rw-r--r--finance/p5-Algorithm-LUHN/distinfo5
3 files changed, 30 insertions, 0 deletions
diff --git a/finance/p5-Algorithm-LUHN/DESCR b/finance/p5-Algorithm-LUHN/DESCR
new file mode 100644
index 00000000000..ce9df978ce7
--- /dev/null
+++ b/finance/p5-Algorithm-LUHN/DESCR
@@ -0,0 +1,7 @@
+This module calculates the Modulus 10 Double Add Double checksum,
+also known as the LUHN Formula. This algorithm is used to verify
+credit card numbers and Standard & Poor's security identifiers such
+as CUSIP's and CSIN's.
+
+You can find plenty of information about the algorithm by searching
+the web for "modulus 10 double add double".
diff --git a/finance/p5-Algorithm-LUHN/Makefile b/finance/p5-Algorithm-LUHN/Makefile
new file mode 100644
index 00000000000..994f38d1c70
--- /dev/null
+++ b/finance/p5-Algorithm-LUHN/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/10/25 20:22:07 abs Exp $
+
+DISTNAME= Algorithm-LUHN-1.00
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= finance perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/T/TA/TAYERS/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/perldoc?Algorithm::LUHN
+COMMENT= Calculate the Modulus 10 Double Add Double checksum
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST= auto/Algorithm/LUHN/.packlist
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/finance/p5-Algorithm-LUHN/distinfo b/finance/p5-Algorithm-LUHN/distinfo
new file mode 100644
index 00000000000..31b86291356
--- /dev/null
+++ b/finance/p5-Algorithm-LUHN/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/10/25 20:22:07 abs Exp $
+
+SHA1 (Algorithm-LUHN-1.00.tar.gz) = 0b312ffb63bcc8f0a05d1e00fe2418a326febaeb
+RMD160 (Algorithm-LUHN-1.00.tar.gz) = 28b4b7acb7fd69b4954d9075d33599bcbd4940e9
+Size (Algorithm-LUHN-1.00.tar.gz) = 3748 bytes