summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragc <agc>2010-11-29 06:43:15 +0000
committeragc <agc>2010-11-29 06:43:15 +0000
commit9e63be875e1ba7ffa98ac5b4bfffd95c8f5b899b (patch)
treee9aef275f2a803211dcf1e0bb2145bed5e74140e
parent32df31194c03ffd6ae1eebf49c38a17561ad2715 (diff)
downloadpkgsrc-9e63be875e1ba7ffa98ac5b4bfffd95c8f5b899b.tar.gz
Initial import of ldpc-20060208 into the Packages Collection.
This collection of programs and modules, written in C, is intended to support research and education concerning Low Density Parity Check (LDPC) codes. (Note, however, that the copyright notice no longer restricts use to these purposes). These codes were invented by Robert Gallager in the early 1960's, and re-invented and shown to have very good performance by David MacKay and myself in the mid-1990's. The decoding algorithm for LDPC codes is related to that used for Turbo codes, and to probabilistic inference methods used in other fields. Variations on LDPC and Turbo codes are currently the best practical codes known, in terms of their ability to transmit data at rates approaching channel capacity with very low error probability.
-rw-r--r--devel/ldpc/DESCR11
-rw-r--r--devel/ldpc/Makefile36
-rw-r--r--devel/ldpc/PLIST34
-rw-r--r--devel/ldpc/distinfo5
4 files changed, 86 insertions, 0 deletions
diff --git a/devel/ldpc/DESCR b/devel/ldpc/DESCR
new file mode 100644
index 00000000000..d8253012353
--- /dev/null
+++ b/devel/ldpc/DESCR
@@ -0,0 +1,11 @@
+This collection of programs and modules, written in C, is intended to
+support research and education concerning Low Density Parity Check
+(LDPC) codes. (Note, however, that the copyright notice no longer
+restricts use to these purposes). These codes were invented by Robert
+Gallager in the early 1960's, and re-invented and shown to have very
+good performance by David MacKay and myself in the mid-1990's. The
+decoding algorithm for LDPC codes is related to that used for Turbo
+codes, and to probabilistic inference methods used in other fields.
+Variations on LDPC and Turbo codes are currently the best practical
+codes known, in terms of their ability to transmit data at rates
+approaching channel capacity with very low error probability.
diff --git a/devel/ldpc/Makefile b/devel/ldpc/Makefile
new file mode 100644
index 00000000000..f4c0c2c05ae
--- /dev/null
+++ b/devel/ldpc/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/11/29 06:43:15 agc Exp $
+
+DISTNAME= LDPC-2006-02-08
+PKGNAME= ldpc-20060208
+CATEGORIES= devel
+MASTER_SITES= http://www.cs.utoronto.ca/~radford/ftp/LDPC-2006-02-08/
+
+MAINTAINER= agc@NetBSD.org
+HOMEPAGE= http://www.cs.utoronto.ca/~radford/ftp/LDPC-2006-02-08/index.html
+COMMENT= Low Density Parity Check Codes
+LICENSE= ldpc-license
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+BUILD_TARGET= progs
+
+AUTO_MKDIRS= yes
+
+LDPCPROGS= make-pchk alist-to-pchk pchk-to-alist make-ldpc print-pchk make-gen
+LDPCPROGS+= print-gen rand-src encode transmit decode extract verify
+
+LDPCDOCS= channel.html decode-detail.html decoding.html dep-H.html
+LDPCDOCS+= encoding.html examples.html index.html install.html mod2convert.html
+LDPCDOCS+= mod2dense.html mod2sparse.html modify.html modules.html pchk.html
+LDPCDOCS+= progs.html rand.html refs.html release.html sparse-LU.html
+LDPCDOCS+= support.html
+
+do-install:
+ for p in ${LDPCPROGS}; do \
+ ${INSTALL_PROGRAM} ${WRKSRC}/$$p ${DESTDIR}${PREFIX}/bin; \
+ done
+ for d in ${LDPCDOCS}; do \
+ ${INSTALL_DATA} ${WRKSRC}/$$d ${DESTDIR}${PREFIX}/share/ldpc; \
+ done
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ldpc/PLIST b/devel/ldpc/PLIST
new file mode 100644
index 00000000000..844d6363fc2
--- /dev/null
+++ b/devel/ldpc/PLIST
@@ -0,0 +1,34 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/11/29 06:43:15 agc Exp $
+bin/alist-to-pchk
+bin/decode
+bin/encode
+bin/extract
+bin/make-gen
+bin/make-ldpc
+bin/make-pchk
+bin/pchk-to-alist
+bin/print-gen
+bin/print-pchk
+bin/rand-src
+bin/transmit
+bin/verify
+share/ldpc/channel.html
+share/ldpc/decode-detail.html
+share/ldpc/decoding.html
+share/ldpc/dep-H.html
+share/ldpc/encoding.html
+share/ldpc/examples.html
+share/ldpc/index.html
+share/ldpc/install.html
+share/ldpc/mod2convert.html
+share/ldpc/mod2dense.html
+share/ldpc/mod2sparse.html
+share/ldpc/modify.html
+share/ldpc/modules.html
+share/ldpc/pchk.html
+share/ldpc/progs.html
+share/ldpc/rand.html
+share/ldpc/refs.html
+share/ldpc/release.html
+share/ldpc/sparse-LU.html
+share/ldpc/support.html
diff --git a/devel/ldpc/distinfo b/devel/ldpc/distinfo
new file mode 100644
index 00000000000..3f0d81b5394
--- /dev/null
+++ b/devel/ldpc/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/11/29 06:43:15 agc Exp $
+
+SHA1 (LDPC-2006-02-08.tar.gz) = b4bc77ed5a56976dca7d47f1065b0d59863385d9
+RMD160 (LDPC-2006-02-08.tar.gz) = 37ffa0afc895ab7448d77bf5cdfb05735443c317
+Size (LDPC-2006-02-08.tar.gz) = 405064 bytes