pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/libdatrie Import libdatrie version 0.1.3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ae84b16d5abc
branches:  trunk
changeset: 538501:ae84b16d5abc
user:      obache <obache%pkgsrc.org@localhost>
date:      Mon Feb 11 02:11:24 2008 +0000

description:
Import libdatrie version 0.1.3.

datrie is an implementation of double-array structure for representing trie, as
proposed by Junichi Aoe.

Trie is a kind of digital search tree, an efficient indexing method with O(1)
time complexity for searching. Comparably as efficient as hashing, trie also
provides flexibility on incremental matching and key spelling manipulation.
This makes it ideal for lexical analyzers, as well as spelling dictionaries.

diffstat:

 devel/libdatrie/DESCR         |   7 +++++++
 devel/libdatrie/Makefile      |  22 ++++++++++++++++++++++
 devel/libdatrie/PLIST         |  10 ++++++++++
 devel/libdatrie/buildlink3.mk |  19 +++++++++++++++++++
 devel/libdatrie/distinfo      |   5 +++++
 5 files changed, 63 insertions(+), 0 deletions(-)

diffs (83 lines):

diff -r deac569b878a -r ae84b16d5abc devel/libdatrie/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libdatrie/DESCR     Mon Feb 11 02:11:24 2008 +0000
@@ -0,0 +1,7 @@
+datrie is an implementation of double-array structure for representing trie, as
+proposed by Junichi Aoe.
+
+Trie is a kind of digital search tree, an efficient indexing method with O(1)
+time complexity for searching. Comparably as efficient as hashing, trie also
+provides flexibility on incremental matching and key spelling manipulation.
+This makes it ideal for lexical analyzers, as well as spelling dictionaries.
diff -r deac569b878a -r ae84b16d5abc devel/libdatrie/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libdatrie/Makefile  Mon Feb 11 02:11:24 2008 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/02/11 02:11:24 obache Exp $
+#
+
+DISTNAME=      libdatrie-0.1.3
+CATEGORIES=    devel
+MASTER_SITES=  ftp://linux.thai.net/pub/ThaiLinux/software/libthai/
+
+MAINTAINER=    obache%NetBSD.org@localhost
+HOMEPAGE=      http://linux.thai.net/~thep/datrie/datrie.html
+COMMENT=       Implementation of Double-Array Trie
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL=   yes
+USE_TOOLS+=    pkg-config
+
+PKGCONFIG_OVERRIDE+=   datrie.pc.in
+
+CONFIGURE_ARGS+=       --disable-doxygen-doc
+
+.include "../../mk/bsd.pkg.mk"
diff -r deac569b878a -r ae84b16d5abc devel/libdatrie/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libdatrie/PLIST     Mon Feb 11 02:11:24 2008 +0000
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/02/11 02:11:24 obache Exp $
+bin/trietool
+include/datrie/sb-trie.h
+include/datrie/trie.h
+include/datrie/triedefs.h
+include/datrie/typedefs.h
+lib/libdatrie.la
+lib/pkgconfig/datrie.pc
+man/man1/trietool.1
+@dirrm include/datrie
diff -r deac569b878a -r ae84b16d5abc devel/libdatrie/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libdatrie/buildlink3.mk     Mon Feb 11 02:11:24 2008 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/02/11 02:11:24 obache Exp $
+
+BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH}+
+LIBDATRIE_BUILDLINK3_MK:=      ${LIBDATRIE_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+=    libdatrie
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Nlibdatrie}
+BUILDLINK_PACKAGES+=   libdatrie
+BUILDLINK_ORDER:=      ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libdatrie
+
+.if ${LIBDATRIE_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.libdatrie+=      libdatrie>=0.1.3
+BUILDLINK_PKGSRCDIR.libdatrie?=        ../../devel/libdatrie
+.endif # LIBDATRIE_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH:S/+$//}
diff -r deac569b878a -r ae84b16d5abc devel/libdatrie/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libdatrie/distinfo  Mon Feb 11 02:11:24 2008 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/02/11 02:11:24 obache Exp $
+
+SHA1 (libdatrie-0.1.3.tar.gz) = 5a41b911885e0aae84e9546df8f509e5949f2b07
+RMD160 (libdatrie-0.1.3.tar.gz) = 2a9825ecedaf03dace1eec1a5fc2a1bb22668b8c
+Size (libdatrie-0.1.3.tar.gz) = 357590 bytes



Home | Main Index | Thread Index | Old Index