Sun Jul 29 07:38:48 2018 UTC ()
math/djbsort: import djbsort-20180717

djbsort is a software library for sorting arrays of integers. It
provides the following features:

- Speed: djbsort holds new speed records for in-memory sorting.

- Security: djbsort is designed to be safe for cryptographic contexts.

- Verification: djbsort includes tools to automatically verify correctness.

These features are not separate options: there is a single sorting
function that is simultaneously fast, secure, and verified.

Packaged for wip by schmonz@


(wiz)
diff -r0 -r1.1 pkgsrc/math/djbsort/DESCR
diff -r0 -r1.1 pkgsrc/math/djbsort/Makefile
diff -r0 -r1.1 pkgsrc/math/djbsort/PLIST
diff -r0 -r1.1 pkgsrc/math/djbsort/buildlink3.mk
diff -r0 -r1.1 pkgsrc/math/djbsort/distinfo

File Added: pkgsrc/math/djbsort/DESCR
djbsort is a software library for sorting arrays of integers. It
provides the following features:

- Speed: djbsort holds new speed records for in-memory sorting.

- Security: djbsort is designed to be safe for cryptographic contexts.

- Verification: djbsort includes tools to automatically verify correctness.

These features are not separate options: there is a single sorting
function that is simultaneously fast, secure, and verified.

File Added: pkgsrc/math/djbsort/Makefile
# $NetBSD: Makefile,v 1.1 2018/07/29 07:38:48 wiz Exp $

DISTNAME=		djbsort-20180717
CATEGORIES=		math
MASTER_SITES=		${HOMEPAGE}

MAINTAINER=		schmonz@NetBSD.org
HOMEPAGE=		https://sorting.cr.yp.to/
COMMENT=		Library for sorting arrays of integers
LICENSE=		public-domain

PYTHON_FOR_BUILD_ONLY=	yes
PYTHON_VERSIONS_INCOMPATIBLE=	27
REPLACE_PYTHON=		build test upgrade verif/tryinput

INSTALLATION_DIRS=	include lib

do-build:
	cd ${WRKSRC} && ./build

do-test: do-build
	cd ${WRKSRC} && ./test

do-install: do-test
	cd ${WRKSRC} && ./upgrade &&				\
	cd link-install/newest &&				\
	for i in include/*.h; do				\
	  ${INSTALL_DATA} $${i} ${DESTDIR}${PREFIX}/include;	\
	done;							\
	for i in lib/*/*.a; do					\
	  ${INSTALL_DATA} $${i} ${DESTDIR}${PREFIX}/lib;	\
	done

.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/math/djbsort/Attic/PLIST
@comment $NetBSD: PLIST,v 1.1 2018/07/29 07:38:48 wiz Exp $
include/djbsort_cpucycles.h
include/int32_sort.h
include/uint32_sort.h
lib/libdjbsort.a

File Added: pkgsrc/math/djbsort/buildlink3.mk
# $NetBSD: buildlink3.mk,v 1.1 2018/07/29 07:38:48 wiz Exp $

BUILDLINK_TREE+=	djbsort

.if !defined(DJBSORT_BUILDLINK3_MK)
DJBSORT_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.djbsort+=	djbsort>=20180717
BUILDLINK_PKGSRCDIR.djbsort?=	../../math/djbsort
BUILDLINK_DEPMETHOD.djbsort?=	build
.endif	# DJBSORT_BUILDLINK3_MK

BUILDLINK_TREE+=	-djbsort

File Added: pkgsrc/math/djbsort/distinfo
$NetBSD: distinfo,v 1.1 2018/07/29 07:38:48 wiz Exp $

SHA1 (djbsort-20180717.tar.gz) = 8f6efd8f66aa23707d54c083b9fb28371a409c55
RMD160 (djbsort-20180717.tar.gz) = 64d92cccf13d8a997ea25ee77491f54b6a6b3ce1
SHA512 (djbsort-20180717.tar.gz) = c26a871c46006580343b2876203264c8de0db613ee90ba5dd050f46a71a346d9340ecd06220dc1c0a46a6c1cd910af4bd2cb3fcd39588a62cc2a4a996fc9113e
Size (djbsort-20180717.tar.gz) = 25055 bytes