pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/java-tokyocabinet Import java-tokyocabinet-1...
details: https://anonhg.NetBSD.org/pkgsrc/rev/0dc7d321a3a6
branches: trunk
changeset: 393694:0dc7d321a3a6
user: obache <obache%pkgsrc.org@localhost>
date: Sun May 24 12:40:31 2009 +0000
description:
Import java-tokyocabinet-1.19 as databases/java-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.
This package provides Java binding of Tokyo Cabinet.
diffstat:
databases/java-tokyocabinet/DESCR | 8 +++++
databases/java-tokyocabinet/Makefile | 39 ++++++++++++++++++++++++++++
databases/java-tokyocabinet/PLIST | 7 +++++
databases/java-tokyocabinet/distinfo | 7 +++++
databases/java-tokyocabinet/patches/patch-aa | 17 ++++++++++++
databases/java-tokyocabinet/patches/patch-ab | 28 ++++++++++++++++++++
6 files changed, 106 insertions(+), 0 deletions(-)
diffs (130 lines):
diff -r e2993aa60803 -r 0dc7d321a3a6 databases/java-tokyocabinet/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/java-tokyocabinet/DESCR Sun May 24 12:40:31 2009 +0000
@@ -0,0 +1,8 @@
+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.
+
+This package provides Java binding of Tokyo Cabinet.
diff -r e2993aa60803 -r 0dc7d321a3a6 databases/java-tokyocabinet/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/java-tokyocabinet/Makefile Sun May 24 12:40:31 2009 +0000
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/05/24 12:40:31 obache Exp $
+#
+
+DISTNAME= tokyocabinet-java-1.19
+PKGNAME= java-${DISTNAME:S/-java//}
+CATEGORIES= databases
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tokyocabinet/}
+
+MAINTAINER= obache%NetBSD.org@localhost
+HOMEPAGE= http://tokyocabinet.sourceforge.net/javadoc/
+COMMENT= Java binding of Tokyo Cabinet
+LICENSE= gnu-lgpl-v2.1
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_LANGUAGES= c
+
+TEST_TARGET= check
+
+INSTALLATION_DIRS+= share/tokyocabinet/doc/java
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/doc/index.html \
+ ${DESTDIR}${PREFIX}/share/tokyocabinet/doc/java/index.html
+
+BUILDLINK_API_DEPENDS.tokyocabinet+= tokyocabinet>=1.4.21
+.include "../../databases/tokyocabinet/buildlink3.mk"
+.include "../../mk/java-vm.mk"
+PTHREAD_AUTO_VARS= yes
+.include "../../mk/pthread.buildlink3.mk"
+.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} != "none"
+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 e2993aa60803 -r 0dc7d321a3a6 databases/java-tokyocabinet/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/java-tokyocabinet/PLIST Sun May 24 12:40:31 2009 +0000
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/05/24 12:40:31 obache Exp $
+lib/libjtokyocabinet.so
+lib/libjtokyocabinet.so.1
+lib/libjtokyocabinet.so.1.1.0
+lib/tokyocabinet.jar
+share/tokyocabinet/doc/java/index.html
+@dirrm share/tokyocabinet/doc/java
diff -r e2993aa60803 -r 0dc7d321a3a6 databases/java-tokyocabinet/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/java-tokyocabinet/distinfo Sun May 24 12:40:31 2009 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/05/24 12:40:31 obache Exp $
+
+SHA1 (tokyocabinet-java-1.19.tar.gz) = 21a9e1649fbcc6d1bd25a412aa07920c4105bdce
+RMD160 (tokyocabinet-java-1.19.tar.gz) = 2556900b27831a6824e9d6f55d96659267de7db0
+Size (tokyocabinet-java-1.19.tar.gz) = 130870 bytes
+SHA1 (patch-aa) = 55390c9d2c580d835db97c26456a5995a65632da
+SHA1 (patch-ab) = 459b6ca119a60c560e5a17d52b4e34844dfd2f58
diff -r e2993aa60803 -r 0dc7d321a3a6 databases/java-tokyocabinet/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/java-tokyocabinet/patches/patch-aa Sun May 24 12:40:31 2009 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/05/24 12:40:31 obache Exp $
+
+--- Makefile.in.orig 2009-02-16 09:00:06.000000000 +0000
++++ Makefile.in
+@@ -39,9 +39,9 @@ JAVAH = @JAVAH@
+ JAVADOC = @JAVADOC@
+ JAVARUN = @JAVARUN@
+ CC = @CC@
+-CPPFLAGS = @MYCPPFLAGS@
+-CFLAGS = @MYCFLAGS@
+-LDFLAGS = @MYLDFLAGS@
++CPPFLAGS = @CPPFLAGS@ @MYCPPFLAGS@
++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@
diff -r e2993aa60803 -r 0dc7d321a3a6 databases/java-tokyocabinet/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/java-tokyocabinet/patches/patch-ab Sun May 24 12:40:31 2009 +0000
@@ -0,0 +1,28 @@
+$NetBSD: patch-ab,v 1.1.1.1 2009/05/24 12:40:31 obache Exp $
+
+--- configure.orig 2009-05-15 06:18:42.000000000 +0000
++++ configure
+@@ -1802,20 +1802,16 @@ MYLIBRARYFILES=""
+ MYLIBOBJFILES="hdb.o bdb.o bdbcur.o fdb.o util.o myconf.o"
+
+ # 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"
+
+ # Building paths
+-pathtmp="$PATH"
+-PATH="$HOME/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
+-PATH="$PATH:/usr/ccs/bin:/usr/ucb:/usr/xpg4/bin:/usr/xpg6/bin:$pathtmp"
+ LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LIBRARY_PATH"
+ LD_LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LD_LIBRARY_PATH"
+ CPATH="$HOME/include:/usr/local/include:$CPATH"
+-PKG_CONFIG_PATH="$HOME/lib/pkgconfig:/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"
+ export PATH LIBRARY_PATH LD_LIBRARY_PATH CPATH PKG_CONFIG_PATH
+ if type pkg-config > /dev/null 2>&1
+ then
Home |
Main Index |
Thread Index |
Old Index