pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Jan 20 11:37:22 UTC 2021

Modified Files:
        pkgsrc/devel: Makefile
Added Files:
        pkgsrc/devel/libdivsufsort: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.3317 -r1.3318 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/libdivsufsort/DESCR \
    pkgsrc/devel/libdivsufsort/Makefile pkgsrc/devel/libdivsufsort/PLIST \
    pkgsrc/devel/libdivsufsort/buildlink3.mk \
    pkgsrc/devel/libdivsufsort/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.3317 pkgsrc/devel/Makefile:1.3318
--- pkgsrc/devel/Makefile:1.3317        Mon Jan 18 12:01:10 2021
+++ pkgsrc/devel/Makefile       Wed Jan 20 11:37:22 2021
@@ -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-qt
 SUBDIR+=       libdbusmenu-qt5
 SUBDIR+=       libdbusmenu-tools
 SUBDIR+=       libdevq
+SUBDIR+=       libdivsufsort
 SUBDIR+=       libdnsres
 SUBDIR+=       libdockapp
 SUBDIR+=       libdshconfig

Added files:

Index: pkgsrc/devel/libdivsufsort/DESCR
diff -u /dev/null pkgsrc/devel/libdivsufsort/DESCR:1.1
--- /dev/null   Wed Jan 20 11:37:22 2021
+++ pkgsrc/devel/libdivsufsort/DESCR    Wed Jan 20 11:37:22 2021
@@ -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.
Index: pkgsrc/devel/libdivsufsort/Makefile
diff -u /dev/null pkgsrc/devel/libdivsufsort/Makefile:1.1
--- /dev/null   Wed Jan 20 11:37:22 2021
+++ pkgsrc/devel/libdivsufsort/Makefile Wed Jan 20 11:37:22 2021
@@ -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"
Index: pkgsrc/devel/libdivsufsort/PLIST
diff -u /dev/null pkgsrc/devel/libdivsufsort/PLIST:1.1
--- /dev/null   Wed Jan 20 11:37:22 2021
+++ pkgsrc/devel/libdivsufsort/PLIST    Wed Jan 20 11:37:22 2021
@@ -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
Index: pkgsrc/devel/libdivsufsort/buildlink3.mk
diff -u /dev/null pkgsrc/devel/libdivsufsort/buildlink3.mk:1.1
--- /dev/null   Wed Jan 20 11:37:22 2021
+++ pkgsrc/devel/libdivsufsort/buildlink3.mk    Wed Jan 20 11:37:22 2021
@@ -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
Index: pkgsrc/devel/libdivsufsort/distinfo
diff -u /dev/null pkgsrc/devel/libdivsufsort/distinfo:1.1
--- /dev/null   Wed Jan 20 11:37:22 2021
+++ pkgsrc/devel/libdivsufsort/distinfo Wed Jan 20 11:37:22 2021
@@ -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