pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel add devel/libdivsufsort



details:   https://anonhg.NetBSD.org/pkgsrc/rev/58d60cda3262
branches:  trunk
changeset: 445330:58d60cda3262
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Jan 20 11:37:22 2021 +0000

description:
add devel/libdivsufsort

libdivsufsort is a software library that implements a lightweight suffix array
construction algorithm.

This library provides a simple and an efficient C API to construct a suffix
array and a Burrows-Wheeler transformed string from a given string over a
constant-size alphabet. The algorithm runs in O(n log n) worst-case time using
only 5n+O(1) bytes of memory space, where n is the length of the string.

diffstat:

 devel/Makefile                    |   3 ++-
 devel/libdivsufsort/DESCR         |   7 +++++++
 devel/libdivsufsort/Makefile      |  16 ++++++++++++++++
 devel/libdivsufsort/PLIST         |   6 ++++++
 devel/libdivsufsort/buildlink3.mk |  12 ++++++++++++
 devel/libdivsufsort/distinfo      |   6 ++++++
 6 files changed, 49 insertions(+), 1 deletions(-)

diffs (84 lines):

diff -r a31cc6f0f700 -r 58d60cda3262 devel/Makefile
--- a/devel/Makefile    Wed Jan 20 11:04:34 2021 +0000
+++ b/devel/Makefile    Wed Jan 20 11:37:22 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3317 2021/01/18 12:01:10 nia Exp $
+# $NetBSD: Makefile,v 1.3318 2021/01/20 11:37:22 nia Exp $
 #
 
 COMMENT=       Development utilities
@@ -744,6 +744,7 @@
 SUBDIR+=       libdbusmenu-qt5
 SUBDIR+=       libdbusmenu-tools
 SUBDIR+=       libdevq
+SUBDIR+=       libdivsufsort
 SUBDIR+=       libdnsres
 SUBDIR+=       libdockapp
 SUBDIR+=       libdshconfig
diff -r a31cc6f0f700 -r 58d60cda3262 devel/libdivsufsort/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libdivsufsort/DESCR Wed Jan 20 11:37:22 2021 +0000
@@ -0,0 +1,7 @@
+libdivsufsort is a software library that implements a lightweight suffix array
+construction algorithm.
+
+This library provides a simple and an efficient C API to construct a suffix
+array and a Burrows-Wheeler transformed string from a given string over a
+constant-size alphabet. The algorithm runs in O(n log n) worst-case time using
+only 5n+O(1) bytes of memory space, where n is the length of the string.
diff -r a31cc6f0f700 -r 58d60cda3262 devel/libdivsufsort/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libdivsufsort/Makefile      Wed Jan 20 11:37:22 2021 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2021/01/20 11:37:22 nia Exp $
+
+DISTNAME=      libdivsufsort-2.0.1
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=y-256/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/y-256/libdivsufsort
+COMMENT=       Lightweight suffix array construction algorithm library
+LICENSE=       mit
+
+USE_CMAKE=     yes
+
+PKGCONFIG_OVERRIDE+=   pkgconfig/libdivsufsort.pc.cmake
+
+.include "../../mk/bsd.pkg.mk"
diff -r a31cc6f0f700 -r 58d60cda3262 devel/libdivsufsort/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libdivsufsort/PLIST Wed Jan 20 11:37:22 2021 +0000
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1 2021/01/20 11:37:22 nia Exp $
+include/divsufsort.h
+lib/libdivsufsort.so
+lib/libdivsufsort.so.3
+lib/libdivsufsort.so.3.0.0
+lib/pkgconfig/libdivsufsort.pc
diff -r a31cc6f0f700 -r 58d60cda3262 devel/libdivsufsort/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libdivsufsort/buildlink3.mk Wed Jan 20 11:37:22 2021 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2021/01/20 11:37:22 nia Exp $
+
+BUILDLINK_TREE+=       libdivsufsort
+
+.if !defined(LIBDIVSUFSORT_BUILDLINK3_MK)
+LIBDIVSUFSORT_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libdivsufsort+=  libdivsufsort>=2.0.1
+BUILDLINK_PKGSRCDIR.libdivsufsort?=    ../../devel/libdivsufsort
+.endif # LIBDIVSUFSORT_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -libdivsufsort
diff -r a31cc6f0f700 -r 58d60cda3262 devel/libdivsufsort/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libdivsufsort/distinfo      Wed Jan 20 11:37:22 2021 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/01/20 11:37:22 nia Exp $
+
+SHA1 (libdivsufsort-2.0.1.tar.gz) = 4d0d0c153ec74ce3584d393440a3d344342581ad
+RMD160 (libdivsufsort-2.0.1.tar.gz) = 332e6a62641cbaf7a3388dcf52d9d4960e7b21a2
+SHA512 (libdivsufsort-2.0.1.tar.gz) = c82299adbd49995145872cd67e03b1c8762de99043acca48964b16c66a39347fb6211b17c9b5f6e12878983ea7cafa65991179f67e3a4cb5e5e14bb57775487e
+Size (libdivsufsort-2.0.1.tar.gz) = 31290 bytes



Home | Main Index | Thread Index | Old Index