Commit 73c7ea9b authored by sunpoet's avatar sunpoet
Browse files

Add go-crc32 1.1

CRC32 hash with x64 optimizations

This package is a drop-in replacement for the standard library
hash/crc32 package, that features SSE 4.2 optimizations on x64
platforms, for a 10x speedup.

WWW: https://github.com/klauspost/crc32

- While I'm here:
  - Use DISTVERSIONPREFIX
  - Add LICENSE_FILE
  - Add missing RUN_DEPENDS
  - Remove GH_PROJECT

PR:		217211
Submitted by:	Guy Tabrar <guy.tabrar@me.com>
parent e013da58
......@@ -752,6 +752,7 @@
SUBDIR += go-cobra
SUBDIR += go-codec
SUBDIR += go-cpuid
SUBDIR += go-crc32
SUBDIR += go-faker
SUBDIR += go-form
SUBDIR += go-glide
......
# $FreeBSD$
PORTNAME= crc32
PORTVERSION= 1.1
DISTVERSIONPREFIX= v
CATEGORIES= devel
PKGNAMEPREFIX= go-
MAINTAINER= guy.tabrar@me.com
COMMENT= CRC32 hash with x64 optimizations for go
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= klauspost
USES= go
GO_PKGNAME= github.com/klauspost/crc32
.include <bsd.port.mk>
TIMESTAMP = 1487477094
SHA256 (klauspost-crc32-v1.1_GH0.tar.gz) = 4f48f442a3d79e936dc558843d5bcbeb9f1081c4553cb24167d035dc35abd8e4
SIZE (klauspost-crc32-v1.1_GH0.tar.gz) = 16086
CRC32 hash with x64 optimizations
This package is a drop-in replacement for the standard library
hash/crc32 package, that features SSE 4.2 optimizations on x64
platforms, for a 10x speedup.
WWW: https://github.com/klauspost/crc32
%%GO_LIBDIR%%/%%GO_PKGNAME%%.a
%%GO_SRCDIR%%/%%GO_PKGNAME%%/LICENSE
%%GO_SRCDIR%%/%%GO_PKGNAME%%/README.md
%%GO_SRCDIR%%/%%GO_PKGNAME%%/crc32.go
%%GO_SRCDIR%%/%%GO_PKGNAME%%/crc32_amd64.go
%%GO_SRCDIR%%/%%GO_PKGNAME%%/crc32_amd64.s
%%GO_SRCDIR%%/%%GO_PKGNAME%%/crc32_amd64p32.go
%%GO_SRCDIR%%/%%GO_PKGNAME%%/crc32_amd64p32.s
%%GO_SRCDIR%%/%%GO_PKGNAME%%/crc32_generic.go
%%GO_SRCDIR%%/%%GO_PKGNAME%%/crc32_otherarch.go
%%GO_SRCDIR%%/%%GO_PKGNAME%%/crc32_s390x.go
%%GO_SRCDIR%%/%%GO_PKGNAME%%/crc32_s390x.s
%%GO_SRCDIR%%/%%GO_PKGNAME%%/crc32_test.go
%%GO_SRCDIR%%/%%GO_PKGNAME%%/example_test.go
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment