diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-01-03 23:28:51 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-01-03 23:28:51 +0000 |
commit | f0e74337fff64a8ac2111cac00d18a848de8658f (patch) | |
tree | ebed9c4d052f83221237e90f6d69133cbfb65712 /dev-db/qdbm/qdbm-1.8.35.ebuild | |
parent | Adjusted wrt bug117643 (diff) | |
download | gentoo-2-f0e74337fff64a8ac2111cac00d18a848de8658f.tar.gz gentoo-2-f0e74337fff64a8ac2111cac00d18a848de8658f.tar.bz2 gentoo-2-f0e74337fff64a8ac2111cac00d18a848de8658f.zip |
arm love and cleanups
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'dev-db/qdbm/qdbm-1.8.35.ebuild')
-rw-r--r-- | dev-db/qdbm/qdbm-1.8.35.ebuild | 38 |
1 files changed, 15 insertions, 23 deletions
diff --git a/dev-db/qdbm/qdbm-1.8.35.ebuild b/dev-db/qdbm/qdbm-1.8.35.ebuild index 113a26fc6712..662e961f55f3 100644 --- a/dev-db/qdbm/qdbm-1.8.35.ebuild +++ b/dev-db/qdbm/qdbm-1.8.35.ebuild @@ -1,38 +1,33 @@ -# Copyright 1999-2005 Gentoo Foundation +# 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.35.ebuild,v 1.2 2005/12/27 06:18:42 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/qdbm/qdbm-1.8.35.ebuild,v 1.3 2006/01/03 23:28:51 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 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" SLOT="0" +IUSE="debug java perl ruby zlib" DEPEND="java? ( virtual/jdk ) perl? ( dev-lang/perl ) ruby? ( virtual/ruby ) zlib? ( sys-libs/zlib )" - src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/${PN}-runpath.diff - + cd "${S}" + epatch "${FILESDIR}"/${PN}-runpath.diff } src_compile() { - econf \ - `use_enable debug` \ - `use_enable zlib` \ + $(use_enable debug) \ + $(use_enable zlib) \ --enable-pthread \ --enable-iconv \ || die @@ -46,30 +41,27 @@ src_compile() { cd - fi done - } src_install() { - - make DESTDIR=${D} install || die - dodoc COPYING ChangeLog NEWS README THANKS + make DESTDIR="${D}" install || die + dodoc ChangeLog NEWS README THANKS for u in perl ruby; do if use $u; then cd $u - make DESTDIR=${D} install || die + make DESTDIR="${D}" install || die cd - fi done if use java; then cd java - make DESTDIR=${D} install || die - java-pkg_dojar ${D}/usr/$(get_libdir)/*.jar - rm ${D}/usr/$(get_libdir)/*.jar + make DESTDIR="${D}" install || die + java-pkg_dojar "${D}"/usr/$(get_libdir)/*.jar + rm "${D}"/usr/$(get_libdir)/*.jar cd - fi - rm ${D}/usr/bin/*test - + rm "${D}"/usr/bin/*test } |