diff options
author | Akinori Hattori <hattya@gentoo.org> | 2004-08-19 08:20:19 +0000 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2004-08-19 08:20:19 +0000 |
commit | a49f68d527592603d2890a8e5acfd5a1c18067ce (patch) | |
tree | 88c57712043aed987cf1c2b3be7e14d052cdef14 /dev-db/qdbm/qdbm-1.8.15.ebuild | |
parent | version bump (Manifest recommit) (diff) | |
download | gentoo-2-a49f68d527592603d2890a8e5acfd5a1c18067ce.tar.gz gentoo-2-a49f68d527592603d2890a8e5acfd5a1c18067ce.tar.bz2 gentoo-2-a49f68d527592603d2890a8e5acfd5a1c18067ce.zip |
new upstream release
Diffstat (limited to 'dev-db/qdbm/qdbm-1.8.15.ebuild')
-rw-r--r-- | dev-db/qdbm/qdbm-1.8.15.ebuild | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/dev-db/qdbm/qdbm-1.8.15.ebuild b/dev-db/qdbm/qdbm-1.8.15.ebuild new file mode 100644 index 000000000000..c75a0f47a4df --- /dev/null +++ b/dev-db/qdbm/qdbm-1.8.15.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/qdbm/qdbm-1.8.15.ebuild,v 1.1 2004/08/19 08:20:19 hattya Exp $ + +inherit java-pkg + +IUSE="debug java perl ruby zlib" + +DESCRIPTION="Quick Database Manager" +HOMEPAGE="http://qdbm.sf.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +RESTRICT="nomirror" +LICENSE="LGPL-2.1" +KEYWORDS="~x86 ~amd64 ~ppc" +SLOT="0" + +DEPEND="java? ( virtual/jdk ) + perl? ( dev-lang/perl ) + ruby? ( virtual/ruby ) + zlib? ( sys-libs/zlib )" + +src_compile() { + + econf \ + `use_enable debug` \ + `use_enable zlib` \ + --enable-pthread \ + --enable-iconv \ + || die + emake || die + + for u in java perl ruby; do + if use $u; then + cd $u + econf || die + make || die + cd - + fi + done + +} + +src_install() { + + make DESTDIR=${D} install || die + dodoc COPYING ChangeLog NEWS README THANKS + + for u in perl ruby; do + if use $u; then + cd $u + make DESTDIR=${D} install || die + cd - + fi + done + + if use java; then + cd java + make DESTDIR=${D} install || die + java-pkg_dojar ${D}/usr/lib/*.jar + rm ${D}/usr/lib/*.jar + cd - + fi + + rm ${D}/usr/bin/*test + +} |