summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2006-09-30 13:15:48 +0000
committerAkinori Hattori <hattya@gentoo.org>2006-09-30 13:15:48 +0000
commit0786d5a39566cc07b9a00f1c8ea8ce06aa662ef7 (patch)
treea38b423457f9bbcb4cf5d1116c9cf9700eedf9b5 /dev-db/qdbm
parentMake sure pam is the latest eclass called. (diff)
downloadgentoo-2-0786d5a39566cc07b9a00f1c8ea8ce06aa662ef7.tar.gz
gentoo-2-0786d5a39566cc07b9a00f1c8ea8ce06aa662ef7.tar.bz2
gentoo-2-0786d5a39566cc07b9a00f1c8ea8ce06aa662ef7.zip
switch to generation-1 for building java binding. reference bug #149578.
(Portage version: 2.1.1)
Diffstat (limited to 'dev-db/qdbm')
-rw-r--r--dev-db/qdbm/ChangeLog7
-rw-r--r--dev-db/qdbm/files/digest-qdbm-1.8.70-r13
-rw-r--r--dev-db/qdbm/qdbm-1.8.70-r1.ebuild110
3 files changed, 119 insertions, 1 deletions
diff --git a/dev-db/qdbm/ChangeLog b/dev-db/qdbm/ChangeLog
index 79870395789b..c62151c3be61 100644
--- a/dev-db/qdbm/ChangeLog
+++ b/dev-db/qdbm/ChangeLog
@@ -1,6 +1,11 @@
# 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.85 2006/09/03 11:45:09 hattya Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/qdbm/ChangeLog,v 1.86 2006/09/30 13:15:47 hattya Exp $
+
+*qdbm-1.8.70-r1 (30 Sep 2006)
+
+ 30 Sep 2006; Akinori Hattori <hattya@gentoo.org> +qdbm-1.8.70-r1.ebuild:
+ switch to generation-1 for building java binding. reference bug #149578.
*qdbm-1.8.70 (03 Sep 2006)
diff --git a/dev-db/qdbm/files/digest-qdbm-1.8.70-r1 b/dev-db/qdbm/files/digest-qdbm-1.8.70-r1
new file mode 100644
index 000000000000..bc7de66d7e5a
--- /dev/null
+++ b/dev-db/qdbm/files/digest-qdbm-1.8.70-r1
@@ -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-r1.ebuild b/dev-db/qdbm/qdbm-1.8.70-r1.ebuild
new file mode 100644
index 000000000000..5b2daa3a6958
--- /dev/null
+++ b/dev-db/qdbm/qdbm-1.8.70-r1.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-r1.ebuild,v 1.1 2006/09/30 13:15:47 hattya Exp $
+
+inherit eutils java-pkg 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 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~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
+
+}