forked from Lainports/freebsd-ports
and accelerated primitives useful in digital signal processing (DSP).
Except for the Reed-Solomon codecs, these functions take full advantage of
the MMX, SSE and SSE2 SIMD instruction sets on Intel/AMD IA-32 processors
and the Altivec/VMX/Velocity Engine SIMD instruction set on the
G4 and G5 PowerPC.
The library includes Viterbi decoders for the following convolutional codes:
rate 1/2 k=7
rate 1/2 k=9
rate 1/6 k=15 ("Cassini")
plus two Reed-Solomon encoder-decoders:
one optimized for the (255,223) CCSDS standard code
a general purpose encoder/decoder for arbitrary RS codes
and three low-level 16-bit DSP support routines:
signed dot product
peak detection
sum-of-squares (energy) computation
This library is licensed under the "lesser" GNU General Public License.
WWW: http://www.ka9q.net/code/fec/
- Diane Bruce, VA3DB
db@db.net
PR: ports/99895
Submitted by: db
34 lines
637 B
Makefile
34 lines
637 B
Makefile
# ports collection makefile for: fec
|
|
# Date created: 7 July 2006
|
|
# Whom: db
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libfec
|
|
PORTVERSION= 2.1.1
|
|
CATEGORIES= comms astro hamradio
|
|
MASTER_SITES= http://www.ka9q.net/code/fec/
|
|
DISTNAME= fec-${PORTVERSION}
|
|
|
|
MAINTAINER= db@db.net
|
|
COMMENT= Several forward error correction (FEC) decoders
|
|
|
|
MAKEFILE= makefile
|
|
MAN3= simd-viterbi.3 rs.3 dsp.3
|
|
|
|
USE_BZIP2= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
INSTALLS_SHLIB= yes
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/makefile.in
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 500000
|
|
USE_GCC= 3.4+
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|