diff options
author | Akinori Hattori <hattya@gentoo.org> | 2006-08-12 13:36:26 +0000 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2006-08-12 13:36:26 +0000 |
commit | 786e6411b3718e40127659aa08ca800dcbae241d (patch) | |
tree | 62a8f19a7a1ebc2f5c5c24b5c0693405f01f44dd /dev-db | |
parent | add CHANGES.txt to installed docs. (#143651) (diff) | |
download | gentoo-2-786e6411b3718e40127659aa08ca800dcbae241d.tar.gz gentoo-2-786e6411b3718e40127659aa08ca800dcbae241d.tar.bz2 gentoo-2-786e6411b3718e40127659aa08ca800dcbae241d.zip |
new upstream release.
(Portage version: 2.1.1_pre5)
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/qdbm/ChangeLog | 8 | ||||
-rw-r--r-- | dev-db/qdbm/files/digest-qdbm-1.8.67 | 3 | ||||
-rw-r--r-- | dev-db/qdbm/qdbm-1.8.67.ebuild | 110 |
3 files changed, 120 insertions, 1 deletions
diff --git a/dev-db/qdbm/ChangeLog b/dev-db/qdbm/ChangeLog index c9332e351f39..150acd0e4fdd 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.82 2006/07/23 15:38:11 hattya Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/qdbm/ChangeLog,v 1.83 2006/08/12 13:36:26 hattya Exp $ + +*qdbm-1.8.67 (12 Aug 2006) + + 12 Aug 2006; Akinori Hattori <hattya@gentoo.org> -qdbm-1.8.62.ebuild, + +qdbm-1.8.67.ebuild: + new upstream release. *qdbm-1.8.62 (23 Jul 2006) diff --git a/dev-db/qdbm/files/digest-qdbm-1.8.67 b/dev-db/qdbm/files/digest-qdbm-1.8.67 new file mode 100644 index 000000000000..ae4ade9e5285 --- /dev/null +++ b/dev-db/qdbm/files/digest-qdbm-1.8.67 @@ -0,0 +1,3 @@ +MD5 0840ca8441cbe7ea6e8ec0af84343595 qdbm-1.8.67.tar.gz 911716 +RMD160 f7cfc0131e377d0ab65259696a067a3f0681c974 qdbm-1.8.67.tar.gz 911716 +SHA256 4efa576007858b1ad4b85db0b2673244e5b50cf5df0f6d4f8581bd1f6611230d qdbm-1.8.67.tar.gz 911716 diff --git a/dev-db/qdbm/qdbm-1.8.67.ebuild b/dev-db/qdbm/qdbm-1.8.67.ebuild new file mode 100644 index 000000000000..51996f400b8e --- /dev/null +++ b/dev-db/qdbm/qdbm-1.8.67.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.67.ebuild,v 1.1 2006/08/12 13:36:26 hattya Exp $ + +inherit eutils java-pkg-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 + +} |