pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/tokyocabinet Import tokyocabinet-1.3.7 as da...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4df494506103
branches: trunk
changeset: 546540:4df494506103
user: obache <obache%pkgsrc.org@localhost>
date: Thu Sep 04 12:10:28 2008 +0000
description:
Import tokyocabinet-1.3.7 as databases/tokyocabinet.
Tokyo Cabinet is a library of routines for managing a database. The database is
a simple data file containing records, each is a pair of a key and a value.
Every key and value is serial bytes with variable length. Both binary data and
character string can be used as a key and a value. There is neither concept of
data tables nor data types. Records are organized in hash table, B+ tree, or
fixed-length array.
diffstat:
databases/tokyocabinet/DESCR | 6 +++
databases/tokyocabinet/Makefile | 41 ++++++++++++++++++++
databases/tokyocabinet/PLIST | 65 +++++++++++++++++++++++++++++++++
databases/tokyocabinet/buildlink3.mk | 25 ++++++++++++
databases/tokyocabinet/distinfo | 7 +++
databases/tokyocabinet/patches/patch-aa | 53 ++++++++++++++++++++++++++
databases/tokyocabinet/patches/patch-ab | 15 +++++++
7 files changed, 212 insertions(+), 0 deletions(-)
diffs (240 lines):
diff -r 1c3fa9c52d76 -r 4df494506103 databases/tokyocabinet/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/tokyocabinet/DESCR Thu Sep 04 12:10:28 2008 +0000
@@ -0,0 +1,6 @@
+Tokyo Cabinet is a library of routines for managing a database. The database is
+a simple data file containing records, each is a pair of a key and a value.
+Every key and value is serial bytes with variable length. Both binary data and
+character string can be used as a key and a value. There is neither concept of
+data tables nor data types. Records are organized in hash table, B+ tree, or
+fixed-length array.
diff -r 1c3fa9c52d76 -r 4df494506103 databases/tokyocabinet/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/tokyocabinet/Makefile Thu Sep 04 12:10:28 2008 +0000
@@ -0,0 +1,41 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/09/04 12:10:28 obache Exp $
+#
+
+DISTNAME= tokyocabinet-1.3.7
+CATEGORIES= databases
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tokyocabinet/}
+
+MAINTAINER= obache%NetBSD.org@localhost
+HOMEPAGE= http://tokyocabinet.sourceforge.net/
+COMMENT= Modern implementation of DBM
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= gmake pkg-config
+
+PKGCONFIG_OVERRIDE+= tokyocabinet.pc.in
+
+CONFIGURE_ARGS+= --enable-zlib
+CONFIGURE_ARGS+= --enable-bzip
+CONFIGURE_ARGS+= --enable-exlzma
+CONFIGURE_ARGS+= --enable-exlzo
+
+TEST_TARGET= check
+
+.include "../../archivers/bzip2/buildlink3.mk"
+.include "../../archivers/lzmalib/buildlink3.mk"
+.include "../../archivers/lzo/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+PTHREAD_AUTO_VARS= yes
+.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "none"
+CONFIGURE_ARGS+= --disable-pthread
+.else
+CONFIGURE_ARGS+= --enable-pthread
+SUBST_CLASSES+= pthread
+SUBST_STAGE.pthread= pre-configure
+SUBST_FILES.pthread= configure
+SUBST_SED.pthread= -e 's|-lpthread|${PTHREAD_LIBS}|'
+.endif
+.include "../../mk/bsd.pkg.mk"
diff -r 1c3fa9c52d76 -r 4df494506103 databases/tokyocabinet/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/tokyocabinet/PLIST Thu Sep 04 12:10:28 2008 +0000
@@ -0,0 +1,65 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/09/04 12:10:28 obache Exp $
+bin/tcamgr
+bin/tcatest
+bin/tcbmgr
+bin/tcbmttest
+bin/tcbtest
+bin/tcfmgr
+bin/tcfmttest
+bin/tcftest
+bin/tchmgr
+bin/tchmttest
+bin/tchtest
+bin/tcucodec
+bin/tcumttest
+bin/tcutest
+include/tcadb.h
+include/tcbdb.h
+include/tcfdb.h
+include/tchdb.h
+include/tcutil.h
+lib/libtokyocabinet.a
+lib/libtokyocabinet.so
+lib/libtokyocabinet.so.5
+lib/libtokyocabinet.so.5.1.0
+lib/pkgconfig/tokyocabinet.pc
+libexec/tcawmgr.cgi
+man/man1/tcamgr.1
+man/man1/tcatest.1
+man/man1/tcbmgr.1
+man/man1/tcbmttest.1
+man/man1/tcbtest.1
+man/man1/tcfmgr.1
+man/man1/tcfmttest.1
+man/man1/tcftest.1
+man/man1/tchmgr.1
+man/man1/tchmttest.1
+man/man1/tchtest.1
+man/man1/tcucodec.1
+man/man1/tcumttest.1
+man/man1/tcutest.1
+man/man3/tcadb.3
+man/man3/tcbdb.3
+man/man3/tcfdb.3
+man/man3/tchdb.3
+man/man3/tclist.3
+man/man3/tcmap.3
+man/man3/tcmdb.3
+man/man3/tcmpool.3
+man/man3/tcutil.3
+man/man3/tcxstr.3
+man/man3/tokyocabinet.3
+share/tokyocabinet/COPYING
+share/tokyocabinet/ChangeLog
+share/tokyocabinet/THANKS
+share/tokyocabinet/doc/benchmark.pdf
+share/tokyocabinet/doc/common.css
+share/tokyocabinet/doc/icon16.png
+share/tokyocabinet/doc/index.html
+share/tokyocabinet/doc/index.ja.html
+share/tokyocabinet/doc/logo-ja.png
+share/tokyocabinet/doc/logo.png
+share/tokyocabinet/doc/spex-en.html
+share/tokyocabinet/doc/spex-ja.html
+@dirrm share/tokyocabinet/doc
+@dirrm share/tokyocabinet
diff -r 1c3fa9c52d76 -r 4df494506103 databases/tokyocabinet/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/tokyocabinet/buildlink3.mk Thu Sep 04 12:10:28 2008 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/09/04 12:10:28 obache Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+TOKYOCABINET_BUILDLINK3_MK:= ${TOKYOCABINET_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= tokyocabinet
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ntokyocabinet}
+BUILDLINK_PACKAGES+= tokyocabinet
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}tokyocabinet
+
+.if ${TOKYOCABINET_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.tokyocabinet+= tokyocabinet>=1.3.7
+BUILDLINK_PKGSRCDIR.tokyocabinet?= ../../databases/tokyocabinet
+.endif # TOKYOCABINET_BUILDLINK3_MK
+
+.include "../../archivers/bzip2/buildlink3.mk"
+.include "../../archivers/lzmalib/buildlink3.mk"
+.include "../../archivers/lzo/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff -r 1c3fa9c52d76 -r 4df494506103 databases/tokyocabinet/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/tokyocabinet/distinfo Thu Sep 04 12:10:28 2008 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/09/04 12:10:28 obache Exp $
+
+SHA1 (tokyocabinet-1.3.7.tar.gz) = 23f25c9acc8e15ef785802fa0033516bc22dcf2a
+RMD160 (tokyocabinet-1.3.7.tar.gz) = 5e81109e7cded2fc9acd9158c9eb95b7eb4003a5
+Size (tokyocabinet-1.3.7.tar.gz) = 443873 bytes
+SHA1 (patch-aa) = 0bccf7e2f027a19af7d96f593aa302717a6c252f
+SHA1 (patch-ab) = ea56d5fe1176ac3a8d8546d2bd46eca6b63b3a55
diff -r 1c3fa9c52d76 -r 4df494506103 databases/tokyocabinet/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/tokyocabinet/patches/patch-aa Thu Sep 04 12:10:28 2008 +0000
@@ -0,0 +1,53 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/09/04 12:10:28 obache Exp $
+
+--- configure.orig 2008-08-25 01:32:42.000000000 +0000
++++ configure
+@@ -1737,9 +1737,9 @@ MYDOCUMENTFILES="COPYING ChangeLog THANK
+ MYPCFILES="tokyocabinet.pc"
+
+ # Building flags
+-MYCFLAGS="-std=c99 -Wall -fPIC -fsigned-char -O2"
+-MYCPPFLAGS="-I. -I\$(INCLUDEDIR) -L$HOME/include -L/usr/local/include -DNDEBUG -D_GNU_SOURCE=1"
+-MYLDFLAGS="-L. -L\$(LIBDIR) -L$HOME/lib -L/usr/local/lib"
++MYCFLAGS="-std=c99 -Wall -fPIC -fsigned-char"
++MYCPPFLAGS="-I. -I\$(INCLUDEDIR) -DNDEBUG -D_GNU_SOURCE=1"
++MYLDFLAGS="-L. -L\$(LIBDIR)"
+ MYRUNPATH="\$(LIBDIR)"
+ MYLDLIBPATHENV="LD_LIBRARY_PATH"
+ MYPOSTCMD="true"
+@@ -4074,7 +4074,7 @@ _ACEOF
+ fi
+
+ fi
+-if test "$enable_exlzma" == "yes"
++if test "$enable_exlzma" = "yes"
+ then
+
+ { echo "$as_me:$LINENO: checking for main in -llzma" >&5
+@@ -4142,7 +4142,7 @@ _ACEOF
+ fi
+
+ fi
+-if test "$enable_exlzo" == "yes"
++if test "$enable_exlzo" = "yes"
+ then
+
+ { echo "$as_me:$LINENO: checking for main in -llzo2" >&5
+@@ -5427,7 +5427,7 @@ fi
+
+
+ fi
+-if test "$enable_exlzma" == "yes"
++if test "$enable_exlzma" = "yes"
+ then
+ if test "${ac_cv_header_lzmalib_h+set}" = set; then
+ { echo "$as_me:$LINENO: checking for lzmalib.h" >&5
+@@ -5564,7 +5564,7 @@ fi
+
+
+ fi
+-if test "$enable_exlzo" == "yes"
++if test "$enable_exlzo" = "yes"
+ then
+ if test "${ac_cv_header_lzo_lzo1x_h+set}" = set; then
+ { echo "$as_me:$LINENO: checking for lzo/lzo1x.h" >&5
diff -r 1c3fa9c52d76 -r 4df494506103 databases/tokyocabinet/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/tokyocabinet/patches/patch-ab Thu Sep 04 12:10:28 2008 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1.1.1 2008/09/04 12:10:28 obache Exp $
+
+--- Makefile.in.orig 2008-08-26 13:39:59.000000000 +0000
++++ Makefile.in
+@@ -50,8 +50,8 @@ CPPFLAGS = @MYCPPFLAGS@ \
+ -D_TC_PREFIX="\"$(prefix)\"" -D_TC_INCLUDEDIR="\"$(INCLUDEDIR)\"" \
+ -D_TC_LIBDIR="\"$(LIBDIR)\"" -D_TC_BINDIR="\"$(BINDIR)\"" -D_TC_LIBEXECDIR="\"$(LIBEXECDIR)\"" \
+ -D_TC_APPINC="\"-I$(INCLUDEDIR)\"" -D_TC_APPLIBS="\"-L$(LIBDIR) -ltokyocabinet @LIBS@\""
+-CFLAGS = @MYCFLAGS@
+-LDFLAGS = @MYLDFLAGS@
++CFLAGS = @CFLAGS@ @MYCFLAGS@
++LDFLAGS = @LDFLAGS@ @MYLDFLAGS@
+ LIBS = @LIBS@
+ LDENV = LD_RUN_PATH=/lib:/usr/lib:$(LIBDIR):$(HOME)/lib:/usr/local/lib:@MYRUNPATH@:.
+ RUNENV = @MYLDLIBPATHENV@=.:/lib:/usr/lib:$(LIBDIR):$(HOME)/lib:/usr/local/lib:@MYRUNPATH@
Home |
Main Index |
Thread Index |
Old Index