pkgsrc/devel/ldpc/Makefile
agc cc2f92c85a update ldpc package to pkgrevision 1
fix a packaging botch whereby the file of random numbers was not installed,
and a reference to the build directory was embedded in the executables.

now the regression tests run to completion:

	Running ex-dep:

	Running ex-ham7a:

	Running ex-ham7b:

	Running ex-ldpc-encode:

	Running ex-ldpc36-1000a:

	Running ex-ldpc36-5000a:

	Running ex-ldpcvar-5000a:

	Running ex-wrong-model:
	155c155
	< Bit error rate (on message bits only): 1.320e-02
	---
	> Bit error rate (on message bits only): 1.299e-02
2011-02-10 16:15:36 +00:00

39 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.2 2011/02/10 16:15:36 agc Exp $
DISTNAME= LDPC-2006-02-08
PKGNAME= ldpc-20060208
CATEGORIES= devel
PKGREVISION= 1
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
LDPCRANDFILE= randfile
do-install:
for p in ${LDPCPROGS}; do \
${INSTALL_PROGRAM} ${WRKSRC}/$$p ${DESTDIR}${PREFIX}/bin; \
done
for d in ${LDPCDOCS} ${LDPCRANDFILE}; do \
${INSTALL_DATA} ${WRKSRC}/$$d ${DESTDIR}${PREFIX}/share/ldpc; \
done
.include "../../mk/bsd.pkg.mk"