summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2008-02-04 17:16:52 +0000
committerAkinori Hattori <hattya@gentoo.org>2008-02-04 17:16:52 +0000
commit30e75cdb8b54ce372476208138d664f68e4f911d (patch)
tree8c69a1ecf78d96c954903efd5d21ba24456bed0d /dev-db
parentDropped ppc-macos keyword, see you in prefix (diff)
downloadhistorical-30e75cdb8b54ce372476208138d664f68e4f911d.tar.gz
historical-30e75cdb8b54ce372476208138d664f68e4f911d.tar.bz2
historical-30e75cdb8b54ce372476208138d664f68e4f911d.zip
new upstream release.
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/qdbm/ChangeLog10
-rw-r--r--dev-db/qdbm/Manifest5
-rw-r--r--dev-db/qdbm/files/qdbm-1.8.77-runpath.diff36
-rw-r--r--dev-db/qdbm/qdbm-1.8.77.ebuild112
4 files changed, 160 insertions, 3 deletions
diff --git a/dev-db/qdbm/ChangeLog b/dev-db/qdbm/ChangeLog
index 4650e8c3a990..22ff44895e98 100644
--- a/dev-db/qdbm/ChangeLog
+++ b/dev-db/qdbm/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-db/qdbm
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/qdbm/ChangeLog,v 1.118 2007/12/29 10:53:29 welp Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/qdbm/ChangeLog,v 1.119 2008/02/04 17:16:51 hattya Exp $
+
+*qdbm-1.8.77 (04 Feb 2008)
+
+ 04 Feb 2008; Akinori Hattori <hattya@gentoo.org>
+ +files/qdbm-1.8.77-runpath.diff, +qdbm-1.8.77.ebuild:
+ new upstream release.
29 Dec 2007; <welp@gentoo.org> qdbm-1.8.75-r1.ebuild:
Keyworded ~x86-fbsd; bug 203149
diff --git a/dev-db/qdbm/Manifest b/dev-db/qdbm/Manifest
index a12a02d907c3..88794b739969 100644
--- a/dev-db/qdbm/Manifest
+++ b/dev-db/qdbm/Manifest
@@ -1,9 +1,12 @@
AUX qdbm-1.8.75-runpath.diff 1689 RMD160 e5f358b2c37ce69a4a5f814f62d87e2cb23288db SHA1 5a65a4aa0ad6f4260aff71e1dca82da988d04fb1 SHA256 216f308394592ff8f8c4ee3da36e29b5d99e9b38d27d015c63a26efadb223af2
+AUX qdbm-1.8.77-runpath.diff 1658 RMD160 bf7f1a6bfee257b4f196d4867e29a710bd2fedeb SHA1 dbc56a83cb9ee15be9df094447e9c26223d8b81c SHA256 385fd412f79856cdba16c77ec6dc380d40e96e6e944c7a2f6647a2520d45b6ef
AUX qdbm-perl-runpath-vendor.diff 1257 RMD160 1e120cfd5fa3e51d2b353323229ab573684dea7f SHA1 ced72afc98e5288edc0a330d6cff632c83bb3d0b SHA256 b64ec547408bd8b0524c673ef01041653ae5ba7a5f1f5ab96986ed1b34ca864c
AUX qdbm-runpath.diff 1619 RMD160 1da634633ab370f61ab38f4643901fb2f9a65923 SHA1 c0ce96b114cd811426b5009b613419227a385ce1 SHA256 7a815b72acff53a0c99d927e67500a807ec0661a462a1787edbdc1a048c505c2
DIST qdbm-1.8.74.tar.gz 949015 RMD160 eca01addc7e98b25f6c18b1fc62709f13dcb97ea SHA1 daf9e5f236400cd3a25a1ed3b6d6c83da5f8c80b SHA256 d69c565482b18806a6d42d8917fad8ea755acc1257b5ef3bbe4e27a18fd4da41
DIST qdbm-1.8.75.tar.gz 947612 RMD160 a7886b98ef4006486b87ac51a8edb62a927a6238 SHA1 de93a794b13bb73909356c1ed2c0a97785171609 SHA256 539b5f7d024a9f5d64dd757da7c636c934f5c74e2ad3a9fa60af7dd94bf6fde5
+DIST qdbm-1.8.77.tar.gz 948271 RMD160 3c684a4127204faf32472d29d7fd64a07e394332 SHA1 e277e77bc0209cc4c8eb205a9082ef880048445c SHA256 e413a57b28061f65c6e26fbec584f0d1c9c06f3142ee513fec4061f65533c772
EBUILD qdbm-1.8.74.ebuild 1828 RMD160 f8e6ecf4a08eb3b0ca9fe57d03603571f76a51b5 SHA1 186772b2014b476994c454b15fc5e1b7b2035365 SHA256 037fb2fe20cb0851c6042d1def2a7deb9eb0eb36f064341a82e35f479309cd8c
EBUILD qdbm-1.8.75-r1.ebuild 1905 RMD160 b912984b42af479ee43f9605df896f41577c3bb8 SHA1 42f12a46a149af1ffd4937ba4298876e7b4b04ff SHA256 1d41a7ad92cad7e3cba6319e9b9bd024cb79e1d3556f1f6d856a7b06e23af0d7
-MISC ChangeLog 13257 RMD160 304d4e353692d301f00c83dea479902da01df965 SHA1 c331bc1d24a81c5185c2faca199c8b139ee96e92 SHA256 8fa05865ede7c819db1c18c4262c1efab04a3e06843c50211667c71092747b4c
+EBUILD qdbm-1.8.77.ebuild 1914 RMD160 89f3ba2b234ac9072107c000f9e55d875868dc95 SHA1 15217bbb97155308369dda78670cd68405a58ea1 SHA256 182543167d88542c7fce393eb65aed0dbd320d56192d17318152700881972d7f
+MISC ChangeLog 13419 RMD160 5664e742caf85c3c7ed032b493fa1d4068b26afa SHA1 f97967db3b0f000792a45c05db155e0789ce9fea SHA256 d28a69b22932d621001ad7b7a24a8c50d301ec3c91b1ca620bdf5d66653a24c1
MISC metadata.xml 230 RMD160 8e45109dbaf3c193afdb318002c1def7cb62dfa1 SHA1 9bd7aea9376c216b3f55303d1334a337cd6f06a2 SHA256 87fc07a55ee7814a0505ae1c24a871ac29ae7691c5383550647382a2b26277ae
diff --git a/dev-db/qdbm/files/qdbm-1.8.77-runpath.diff b/dev-db/qdbm/files/qdbm-1.8.77-runpath.diff
new file mode 100644
index 000000000000..9d83fb4dcd83
--- /dev/null
+++ b/dev-db/qdbm/files/qdbm-1.8.77-runpath.diff
@@ -0,0 +1,36 @@
+diff -urN qdbm-1.8.77.orig/Makefile.in qdbm-1.8.77/Makefile.in
+--- qdbm-1.8.77.orig/Makefile.in 2007-03-07 11:40:47.000000000 +0900
++++ qdbm-1.8.77/Makefile.in 2007-12-15 22:02:36.719642580 +0900
+@@ -61,7 +61,7 @@
+ LIBS = -lqdbm @LIBS@
+ LIBLDFLAGS = @LDFLAGS@ -L. -L$(MYLIBDIR) -L$(HOME)/lib -L/usr/local/lib @LIBS@
+ LDFLAGS = @LDFLAGS@ -L. -L$(MYLIBDIR) -L$(HOME)/lib -L/usr/local/lib $(LIBS)
+-LDENV = LD_RUN_PATH=/lib:/usr/lib:$(MYLIBDIR):$(HOME)/lib:/usr/local/lib
++LDENV =
+ AR = @AR@
+ ARFLAGS = rcsv
+ RUNENV = LD_LIBRARY_PATH=.:/lib:/usr/lib:$(MYLIBDIR):$(HOME)/lib:/usr/local/lib
+diff -urN qdbm-1.8.77.orig/cgi/Makefile.in qdbm-1.8.77/cgi/Makefile.in
+--- qdbm-1.8.77.orig/cgi/Makefile.in 2006-08-24 11:55:12.000000000 +0900
++++ qdbm-1.8.77/cgi/Makefile.in 2007-12-15 22:02:43.804668256 +0900
+@@ -28,7 +28,7 @@
+ CFLAGS = -Wall -ansi -pedantic -fsigned-char -O2
+ LIBS = -lqdbm @LIBS@
+ LDFLAGS = -L$(srcdir)/.. -L$(HOME)/lib -L/usr/local/lib $(LIBS)
+-LDENV = LD_RUN_PATH=/lib:/usr/lib:$(HOME)/lib:/usr/local/lib:$(prefix)/lib
++LDENV =
+
+ # Install destinations
+ prefix = @prefix@
+diff -urN qdbm-1.8.77.orig/plus/Makefile.in qdbm-1.8.77/plus/Makefile.in
+--- qdbm-1.8.77.orig/plus/Makefile.in 2007-03-07 11:44:27.000000000 +0900
++++ qdbm-1.8.77/plus/Makefile.in 2007-12-15 22:02:32.976636806 +0900
+@@ -51,7 +51,7 @@
+ -L$(HOME)/lib -L/usr/local/lib $(LIBS)
+ LDFLAGS = @LDFLAGS@ -L. -L$(srcdir)/.. -L$(MYLIBDIR) \
+ -L$(HOME)/lib -L/usr/local/lib -lxqdbm $(LIBS)
+-LDENV = LD_RUN_PATH=/lib:/usr/lib:$(MYLIBDIR):$(HOME)/lib:/usr/local/lib
++LDENV =
+ AR = @AR@
+ ARFLAGS = rcsv
+ RUNENV = LD_LIBRARY_PATH=.:..:/lib:/usr/lib:$(MYLIBDIR):$(HOME)/lib:/usr/local/lib
diff --git a/dev-db/qdbm/qdbm-1.8.77.ebuild b/dev-db/qdbm/qdbm-1.8.77.ebuild
new file mode 100644
index 000000000000..daa002d6b066
--- /dev/null
+++ b/dev-db/qdbm/qdbm-1.8.77.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/qdbm/qdbm-1.8.77.ebuild,v 1.1 2008/02/04 17:16:51 hattya Exp $
+
+inherit eutils java-pkg-opt-2 multilib
+
+IUSE="debug java perl ruby zlib"
+
+DESCRIPTION="Quick Database Manager"
+HOMEPAGE="http://qdbm.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+SLOT="0"
+
+RDEPEND="java? ( >=virtual/jre-1.4 )
+ perl? ( dev-lang/perl )
+ ruby? ( virtual/ruby )
+ zlib? ( sys-libs/zlib )"
+DEPEND="${RDEPEND}
+ java? ( >=virtual/jdk-1.4 )"
+
+src_unpack() {
+
+ unpack ${A}
+ cd "${S}"
+
+ sed -i "/^JAVACFLAGS/s:$: ${JAVACFLAGS}:" java/Makefile.in
+
+ epatch "${FILESDIR}"/${P}-runpath.diff
+ epatch "${FILESDIR}"/${PN}-perl-runpath-vendor.diff
+
+}
+
+src_compile() {
+
+ econf \
+ $(use_enable debug) \
+ $(use_enable zlib) \
+ --enable-pthread \
+ --enable-iconv \
+ || die
+ emake || die
+
+ local u
+
+ for u in java perl ruby; do
+ if ! use ${u}; then
+ continue
+ fi
+
+ cd ${u}
+ econf || die
+ emake || die
+ cd -
+ done
+
+}
+
+src_test() {
+
+ emake -j1 check || die
+
+ local u
+
+ for u in java perl ruby; do
+ if ! use ${u}; then
+ continue
+ fi
+
+ cd ${u}
+ emake -j1 check || die
+ cd -
+ done
+
+}
+
+src_install() {
+
+ emake DESTDIR="${D}" install || die
+
+ dodoc ChangeLog NEWS README THANKS
+ dohtml *.html
+
+ rm -rf "${D}"/usr/share/${PN}
+
+ local u mydatadir=/usr/share/doc/${P}/html
+
+ for u in java perl ruby; do
+ if ! use ${u}; then
+ continue
+ fi
+
+ cd ${u}
+ emake DESTDIR="${D}" MYDATADIR=${mydatadir}/${u} install || die
+
+ case ${u} in
+ java)
+ java-pkg_dojar "${D}"/usr/$(get_libdir)/*.jar
+ rm -f "${D}"/usr/$(get_libdir)/*.jar
+ ;;
+ perl)
+ rm "${D}"/$(perl -V:installarchlib | cut -d\' -f2)/*.pod
+ ;;
+ esac
+ cd -
+ done
+
+ rm -f "${D}"/usr/bin/*test
+
+}