cosmetic change.
authorAkinori Hattori <hattya@gentoo.org>
Sun, 11 Mar 2007 16:15:47 +0000 (16:15 +0000)
committerAkinori Hattori <hattya@gentoo.org>
Sun, 11 Mar 2007 16:15:47 +0000 (16:15 +0000)
Package-Manager: portage-2.1.2.2

dev-db/qdbm/Manifest
dev-db/qdbm/qdbm-1.8.74.ebuild

index 931447f99d15de972147ff6d21d7f9038ac79a05..409d7897ff39373839dda803248c6628390a1867 100644 (file)
@@ -16,10 +16,10 @@ EBUILD qdbm-1.8.70-r1.ebuild 1815 RMD160 198d46f4d1e6b8d6b122d249e47244546b03f16
 MD5 7b6b7f2ddbf7393a8816c3c887425a1e qdbm-1.8.70-r1.ebuild 1815
 RMD160 198d46f4d1e6b8d6b122d249e47244546b03f160 qdbm-1.8.70-r1.ebuild 1815
 SHA256 3fd9561f2f980ecf730b458ef088c14aa1b3f3c1809516240127be9a85065d11 qdbm-1.8.70-r1.ebuild 1815
-EBUILD qdbm-1.8.74.ebuild 1778 RMD160 7046a41f492a936aa393509d5ddddb832a6358b4 SHA1 a94163e10535dca63b31251c9fc3f024e7f86a72 SHA256 da19ab0d84bab7b80c3419f75d8e63c046fc9c4079aac67d07e76cc018ec6c85
-MD5 0aa4e1b863fa1f90b1695cf0b13c57cf qdbm-1.8.74.ebuild 1778
-RMD160 7046a41f492a936aa393509d5ddddb832a6358b4 qdbm-1.8.74.ebuild 1778
-SHA256 da19ab0d84bab7b80c3419f75d8e63c046fc9c4079aac67d07e76cc018ec6c85 qdbm-1.8.74.ebuild 1778
+EBUILD qdbm-1.8.74.ebuild 1837 RMD160 c95824b6629c48b5fa61bd5af165cca201416d01 SHA1 34b71d1a4377ffb526b2a9d5d8a2cae412c64793 SHA256 130f2b3ddff773ab5c92a5378b27e02ef623c1cc0a51c6009f29ff62e4cd6641
+MD5 9c6df3324aeb0fce5b307757b2e30b18 qdbm-1.8.74.ebuild 1837
+RMD160 c95824b6629c48b5fa61bd5af165cca201416d01 qdbm-1.8.74.ebuild 1837
+SHA256 130f2b3ddff773ab5c92a5378b27e02ef623c1cc0a51c6009f29ff62e4cd6641 qdbm-1.8.74.ebuild 1837
 MISC ChangeLog 11282 RMD160 f22d4669d08443b5443116efcb1dd981a2cc89f3 SHA1 787ee05e2e37c858da5d26ab2aa346893f4bb08d SHA256 b07ec8edc3c3a8d7c32b5538f077fda37f094d1a84867e0f1db2cbb2c86b5c11
 MD5 e47681dfc93b5462871a63081f4f5f4e ChangeLog 11282
 RMD160 f22d4669d08443b5443116efcb1dd981a2cc89f3 ChangeLog 11282
index 7ac15694ce147568f3e3853efa5fa64f2da20c91..fad6f8679a1b122e9fafefc83f9d3a64bc4e892f 100644 (file)
@@ -1,17 +1,18 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/qdbm/qdbm-1.8.74.ebuild,v 1.3 2007/03/11 16:08:12 hattya Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/qdbm/qdbm-1.8.74.ebuild,v 1.4 2007/03/11 16:15:47 hattya Exp $
 
 inherit eutils java-pkg-opt-2 multilib
 
+IUSE="debug java perl ruby zlib"
+
 DESCRIPTION="Quick Database Manager"
 HOMEPAGE="http://qdbm.sourceforge.net/"
 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 
 LICENSE="LGPL-2.1"
-SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc x86"
-IUSE="debug java perl ruby zlib"
+SLOT="0"
 
 RDEPEND="java? ( >=virtual/jre-1.4 )
        perl? ( dev-lang/perl )
@@ -21,14 +22,17 @@ 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) \
@@ -38,30 +42,40 @@ src_compile() {
        emake || die
 
        local u
+
        for u in java perl ruby; do
-               use ${u} || continue
+               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
-               use ${u} || continue
+               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
@@ -72,7 +86,9 @@ src_install() {
        local u mydatadir=/usr/share/doc/${P}/html
 
        for u in java perl ruby; do
-               use ${u} || continue
+               if ! use ${u}; then
+                       continue
+               fi
 
                cd ${u}
                emake DESTDIR="${D}" MYDATADIR=${mydatadir}/${u} install || die
@@ -90,4 +106,5 @@ src_install() {
        done
 
        rm -f "${D}"/usr/bin/*test
+
 }