diff options
Diffstat (limited to 'dev-db/qdbm/qdbm-1.8.70-r1.ebuild')
-rw-r--r-- | dev-db/qdbm/qdbm-1.8.70-r1.ebuild | 110 |
1 files changed, 0 insertions, 110 deletions
diff --git a/dev-db/qdbm/qdbm-1.8.70-r1.ebuild b/dev-db/qdbm/qdbm-1.8.70-r1.ebuild deleted file mode 100644 index 828bbd147dc5..000000000000 --- a/dev-db/qdbm/qdbm-1.8.70-r1.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# 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.10 2006/11/26 23:58:29 vapier 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 sh 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 - -} |