diff options
author | steve <steve@FreeBSD.org> | 1999-05-01 11:35:55 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1999-05-01 11:35:55 +0800 |
commit | a587c5d2f71df78b161958d5dc0b3e41a665ca11 (patch) | |
tree | 5b780ac829724525b953a60ccb92cb5539843b8c | |
parent | 3767a22e0871c2d0ba85a0b9bd7923e05adfb484 (diff) | |
download | freebsd-ports-gnome-a587c5d2f71df78b161958d5dc0b3e41a665ca11.tar.gz freebsd-ports-gnome-a587c5d2f71df78b161958d5dc0b3e41a665ca11.tar.zst freebsd-ports-gnome-a587c5d2f71df78b161958d5dc0b3e41a665ca11.zip |
Initial import of fastcrc version 1.0.
A library of fast CRC routines.
PR: 11350
Submitted by: G. Adam Stanislav <adam@whizkidtech.net>
-rw-r--r-- | devel/fastcrc/Makefile | 28 | ||||
-rw-r--r-- | devel/fastcrc/distinfo | 1 | ||||
-rw-r--r-- | devel/fastcrc/pkg-comment | 1 | ||||
-rw-r--r-- | devel/fastcrc/pkg-descr | 18 | ||||
-rw-r--r-- | devel/fastcrc/pkg-plist | 7 |
5 files changed, 55 insertions, 0 deletions
diff --git a/devel/fastcrc/Makefile b/devel/fastcrc/Makefile new file mode 100644 index 000000000000..a1f69ea98da4 --- /dev/null +++ b/devel/fastcrc/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: fastcrc +# Version required: 1.0 +# Date created: 27 April 1999 +# Whom: G. Adam Stanislav <adam@whizkidtech.net> +# +# $Id$ +# + +DISTNAME= fastcrc-1.0 +CATEGORIES= devel +MASTER_SITES= http://www.whizkidtech.net/fports/ + +MAINTAINER= adam@whizkidtech.net + +BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm:install + +do-install: + ${INSTALL_DATA} ${WRKSRC}/libfcrc.so.1 ${PREFIX}/lib + ln -fs ${PREFIX}/lib/libfcrc.so.1 ${PREFIX}/lib/libfcrc.so + ${INSTALL_DATA} ${WRKSRC}/fastcrc.h ${PREFIX}/include + ${MKDIR} ${PREFIX}/share/doc/fastcrc + ${INSTALL_MAN} ${WRKSRC}/index.html ${PREFIX}/share/doc/fastcrc + ${INSTALL_PROGRAM} ${WRKSRC}/fc ${PREFIX}/bin + +post-install: + ${SETENV} OBFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib + +.include <bsd.port.mk> diff --git a/devel/fastcrc/distinfo b/devel/fastcrc/distinfo new file mode 100644 index 000000000000..74cb1abd0530 --- /dev/null +++ b/devel/fastcrc/distinfo @@ -0,0 +1 @@ +MD5 (fastcrc-1.0.tar.gz) = 14a12d063d88e2d54a89c491db011040 diff --git a/devel/fastcrc/pkg-comment b/devel/fastcrc/pkg-comment new file mode 100644 index 000000000000..1588871a6783 --- /dev/null +++ b/devel/fastcrc/pkg-comment @@ -0,0 +1 @@ +Fast CRC routines. diff --git a/devel/fastcrc/pkg-descr b/devel/fastcrc/pkg-descr new file mode 100644 index 000000000000..2fc1ad7a573d --- /dev/null +++ b/devel/fastcrc/pkg-descr @@ -0,0 +1,18 @@ +Fast CRC routines written in assembly language, callable using the C and Pascal +calling conventions, as well as directly from assembly language programs. + +This Unix port contains routines for the calculation of traditional CRC-32 +used by Zmodem, Opus, Ethernet, and many other protocols. + +It also contains routines for the POSIX 1003.2 32-bit CRC calculation. + +See ${PREFIX}/share/doc/fastcrc/index.html for reference. + +This port requires ELF. It creates libfcrc.so.1, and includes <fastcrc.h> for +C programmers. + +Dependencies: nasm + +G. Adam Stanislav +adam@whizkidtech.net +http://www.whizkidtech.net/ diff --git a/devel/fastcrc/pkg-plist b/devel/fastcrc/pkg-plist new file mode 100644 index 000000000000..df6f5fa77d0e --- /dev/null +++ b/devel/fastcrc/pkg-plist @@ -0,0 +1,7 @@ +bin/fc +lib/libfcrc.so +lib/libfcrc.so.1 +@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %D/lib +@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R +share/doc/fastcrc/index.html +@dirrm share/doc/fastcrc |