summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2006-09-03 11:45:09 +0000
committerAkinori Hattori <hattya@gentoo.org>2006-09-03 11:45:09 +0000
commitddc43003ae67e8327e5c3c6d0158b620dc7b0e8f (patch)
tree20fe4448da2cfd44ffb444458a04c4e50c4a565b /dev-db
parentStable on ia64. (diff)
downloadgentoo-2-ddc43003ae67e8327e5c3c6d0158b620dc7b0e8f.tar.gz
gentoo-2-ddc43003ae67e8327e5c3c6d0158b620dc7b0e8f.tar.bz2
gentoo-2-ddc43003ae67e8327e5c3c6d0158b620dc7b0e8f.zip
new upstream release.
(Portage version: 2.1.1_rc1-r2)
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/qdbm/ChangeLog8
-rw-r--r--dev-db/qdbm/files/digest-qdbm-1.8.703
-rw-r--r--dev-db/qdbm/qdbm-1.8.70.ebuild110
3 files changed, 120 insertions, 1 deletions
diff --git a/dev-db/qdbm/ChangeLog b/dev-db/qdbm/ChangeLog
index 4ab6073d6eab..79870395789b 100644
--- a/dev-db/qdbm/ChangeLog
+++ b/dev-db/qdbm/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-db/qdbm
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/qdbm/ChangeLog,v 1.84 2006/09/02 15:47:38 ferdy Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/qdbm/ChangeLog,v 1.85 2006/09/03 11:45:09 hattya Exp $
+
+*qdbm-1.8.70 (03 Sep 2006)
+
+ 03 Sep 2006; Akinori Hattori <hattya@gentoo.org> -qdbm-1.8.67.ebuild,
+ +qdbm-1.8.70.ebuild:
+ new upstream release.
02 Sep 2006; Fernando J. Pereda <ferdy@gentoo.org> qdbm-1.8.67.ebuild:
Java support is optional so inherit java-pkg-opt-2 instead of java-pkg-2 in
diff --git a/dev-db/qdbm/files/digest-qdbm-1.8.70 b/dev-db/qdbm/files/digest-qdbm-1.8.70
new file mode 100644
index 000000000000..bc7de66d7e5a
--- /dev/null
+++ b/dev-db/qdbm/files/digest-qdbm-1.8.70
@@ -0,0 +1,3 @@
+MD5 f4e2ee516b223122565199ff4b032f9f qdbm-1.8.70.tar.gz 914959
+RMD160 350ed9b831f8ed63486bcc4742d06595b5345927 qdbm-1.8.70.tar.gz 914959
+SHA256 a18804ec4ec3e05d58aee485a563b36aab1f7133f15967b512b7c2011d103513 qdbm-1.8.70.tar.gz 914959
diff --git a/dev-db/qdbm/qdbm-1.8.70.ebuild b/dev-db/qdbm/qdbm-1.8.70.ebuild
new file mode 100644
index 000000000000..b3e91f595bac
--- /dev/null
+++ b/dev-db/qdbm/qdbm-1.8.70.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/qdbm/qdbm-1.8.70.ebuild,v 1.1 2006/09/03 11:45:09 hattya Exp $
+
+inherit eutils java-pkg-opt-2 multilib
+
+IUSE="debug java perl ruby zlib"
+
+DESCRIPTION="Quick Database Manager"
+HOMEPAGE="http://qdbm.sf.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~x86"
+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}"
+
+ epatch "${FILESDIR}"/${PN}-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
+
+}