Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Apr 1999 02:15:28 -0500 (CDT)
From:      adam@whizkidtech.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/11350: new port 'fastcrc'
Message-ID:  <199904270715.CAA32365@whizkidtech.net>

next in thread | raw e-mail | index | archive | help

>Number:         11350
>Category:       ports
>Synopsis:       Fast CRC routines
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 27 00:20:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     G. Adam Stanislav
>Release:        FreeBSD 3.1-RELEASE i386
>Organization:
Whiz Kid Technomagic
>Environment:

	

>Description:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	fastcrc
#	fastcrc/Makefile
#	fastcrc/files
#	fastcrc/files/md5
#	fastcrc/pkg
#	fastcrc/pkg/COMMENT
#	fastcrc/pkg/DESCR
#	fastcrc/pkg/PLIST
#
echo c - fastcrc
mkdir -p fastcrc > /dev/null 2>&1
echo x - fastcrc/Makefile
sed 's/^X//' >fastcrc/Makefile << 'END-of-fastcrc/Makefile'
X# New ports collection makefile for:	fastcrc
X# Version required:			1.0
X# Date created:				27 April 1999
X# Whom:					G. Adam Stanislav <adam@whizkidtech.net>
X#
X# $Id$
X#
X
XDISTNAME=	fastcrc-1.0
XCATEGORIES=	devel
XMASTER_SITES=	http://www.whizkidtech.net/fports/
X
XMAINTAINER=	adam@whizkidtech.net
X
XBUILD_DEPENDS=	nasm:${PORTSDIR}/devel/nasm:install
X
Xdo-install:
X	${INSTALL_DATA} ${WRKSRC}/libfcrc.so.1 ${PREFIX}/lib
X	ln -fs ${PREFIX}/lib/libfcrc.so.1 ${PREFIX}/lib/libfcrc.so
X	${INSTALL_DATA} ${WRKSRC}/fastcrc.h ${PREFIX}/include
X	${MKDIR} ${PREFIX}/share/doc/fastcrc
X	${INSTALL_MAN} ${WRKSRC}/index.html ${PREFIX}/share/doc/fastcrc
X	${INSTALL_PROGRAM} ${WRKSRC}/fc ${PREFIX}/bin
X
Xpost-install:
X	${SETENV} OBFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
X
X.include <bsd.port.mk>
END-of-fastcrc/Makefile
echo c - fastcrc/files
mkdir -p fastcrc/files > /dev/null 2>&1
echo x - fastcrc/files/md5
sed 's/^X//' >fastcrc/files/md5 << 'END-of-fastcrc/files/md5'
XMD5 (fastcrc-1.0.tar.gz) = 14a12d063d88e2d54a89c491db011040
END-of-fastcrc/files/md5
echo c - fastcrc/pkg
mkdir -p fastcrc/pkg > /dev/null 2>&1
echo x - fastcrc/pkg/COMMENT
sed 's/^X//' >fastcrc/pkg/COMMENT << 'END-of-fastcrc/pkg/COMMENT'
XFast CRC routines.
END-of-fastcrc/pkg/COMMENT
echo x - fastcrc/pkg/DESCR
sed 's/^X//' >fastcrc/pkg/DESCR << 'END-of-fastcrc/pkg/DESCR'
XFast CRC routines written in assembly language, callable using the C and Pascal
Xcalling conventions, as well as directly from assembly language programs.
X
XThis Unix port contains routines for the calculation of traditional CRC-32
Xused by Zmodem, Opus, Ethernet, and many other protocols.
X
XIt also contains routines for the POSIX 1003.2 32-bit CRC calculation.
X
XSee ${PORTDIR}/share/doc/fastcrc/index.html for reference.
X
XThis port requires ELF. It creates libfcrc.so.1, and includes <fastcrc.h> for
XC programmers.
X
XDependencies: nasm
X
XG. Adam Stanislav
Xadam@whizkidtech.net
Xhttp://www.whizkidtech.net/
END-of-fastcrc/pkg/DESCR
echo x - fastcrc/pkg/PLIST
sed 's/^X//' >fastcrc/pkg/PLIST << 'END-of-fastcrc/pkg/PLIST'
Xlib/libfcrc.so
Xlib/libfcrc.so.1
X@exec /sbin/ldconfig -m %D/lib
X@unexec /sbin/ldconfig -R
Xbin/fc
Xshare/doc/fastcrc/index.html
X@dirrm share/doc/fastcrc
END-of-fastcrc/pkg/PLIST
exit


>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904270715.CAA32365>