summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-04-27 05:32:49 +0000
committerMike Frysinger <vapier@gentoo.org>2004-04-27 05:32:49 +0000
commitc0838546d32392fe0f684c2042986f6e7f8b3772 (patch)
tree2e77c28a3fa5ec8ca44df7c77089a853503f19eb /sys-libs/gdbm
parentmedia-gfx/maya:maya5-bundled-runtime - Use the versions og libstdc++, libgcc_... (diff)
downloadhistorical-c0838546d32392fe0f684c2042986f6e7f8b3772.tar.gz
historical-c0838546d32392fe0f684c2042986f6e7f8b3772.tar.bz2
historical-c0838546d32392fe0f684c2042986f6e7f8b3772.zip
arm KEYWORD
Diffstat (limited to 'sys-libs/gdbm')
-rw-r--r--sys-libs/gdbm/gdbm-1.8.3.ebuild27
1 files changed, 9 insertions, 18 deletions
diff --git a/sys-libs/gdbm/gdbm-1.8.3.ebuild b/sys-libs/gdbm/gdbm-1.8.3.ebuild
index 9941cda3218a..fdebc2ee3bb6 100644
--- a/sys-libs/gdbm/gdbm-1.8.3.ebuild
+++ b/sys-libs/gdbm/gdbm-1.8.3.ebuild
@@ -1,37 +1,28 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/gdbm/gdbm-1.8.3.ebuild,v 1.6 2004/03/23 17:16:13 avenj Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/gdbm/gdbm-1.8.3.ebuild,v 1.7 2004/04/27 05:32:49 vapier Exp $
inherit gnuconfig eutils flag-o-matic
-IUSE="berkdb static"
-
-S=${WORKDIR}/${P}
DESCRIPTION="Standard GNU database libraries included for compatibility with Perl"
HOMEPAGE="http://www.gnu.org/software/gdbm/gdbm.html"
SRC_URI="mirror://gnu/gdbm/${P}.tar.gz"
-SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="~amd64 ~x86 ~ppc ~sparc ~alpha ~mips ~hppa ~ia64 ppc64"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha arm ~hppa ~amd64 ~ia64 ppc64"
+IUSE="berkdb static"
DEPEND="virtual/glibc
- berkdb? (
- amd64? ( sys-libs/db )
- !amd64? ( =sys-libs/db-1.85-r1 ) )"
-
+ berkdb? ( =sys-libs/db-1* )"
RDEPEND="virtual/glibc"
src_compile() {
gnuconfig_update
- if [ ! `is-flag "-fomit-frame-pointer"` ]
- then
- append-flags "-fomit-frame-pointer"
- fi
+ ! is-flag "-fomit-frame-pointer" && append-flags "-fomit-frame-pointer"
local myconf
-
use static && myconf="${myconf} --enable-static"
econf ${myconf} || die
@@ -39,16 +30,16 @@ src_compile() {
}
src_install() {
-
make INSTALL_ROOT=${D} install || die
- make includedir=/usr/include/gdbm \
+ make \
+ includedir=/usr/include/gdbm \
INSTALL_ROOT=${D} \
install-compat || die
dosed "s:/usr/local/lib':/usr/lib':g" /usr/lib/libgdbm.la
- dodoc COPYING ChangeLog NEWS README
+ dodoc ChangeLog NEWS README
}
pkg_postinst() {