summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-04-27 05:21:32 +0000
committerMike Frysinger <vapier@gentoo.org>2004-04-27 05:21:32 +0000
commit5f381cd2ef0c2624ef63e866e50606e25fd63f35 (patch)
treee061861c5670e1cb38863bf9a8f964e3db651b65 /sys-libs
parentadded lzw-tiff to enable the lzw-compression code for libtiff (default is no) (diff)
downloadhistorical-5f381cd2ef0c2624ef63e866e50606e25fd63f35.tar.gz
historical-5f381cd2ef0c2624ef63e866e50606e25fd63f35.tar.bz2
historical-5f381cd2ef0c2624ef63e866e50606e25fd63f35.zip
arm KEYWORD
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/db/db-1.85-r1.ebuild40
1 files changed, 17 insertions, 23 deletions
diff --git a/sys-libs/db/db-1.85-r1.ebuild b/sys-libs/db/db-1.85-r1.ebuild
index a6b3a8e19fee..44ff386581d7 100644
--- a/sys-libs/db/db-1.85-r1.ebuild
+++ b/sys-libs/db/db-1.85-r1.ebuild
@@ -1,40 +1,38 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/db/db-1.85-r1.ebuild,v 1.24 2004/03/02 16:34:51 iggy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/db/db-1.85-r1.ebuild,v 1.25 2004/04/27 05:21:32 vapier Exp $
+
+inherit eutils
-S=${WORKDIR}/db.${PV}
DESCRIPTION="db 1.85 -- required for RPM 4.0 to compile; that's about it."
+HOMEPAGE="http://www.sleepycat.com/"
SRC_URI="http://www.sleepycat.com/update/snapshot/db.${PV}.tar.gz"
-HOMEPAGE="http://www.sleepycat.com"
-DEPEND="virtual/glibc"
-RDEPEND=$DEPEND
-SLOT="1"
+
LICENSE="DB"
-KEYWORDS="x86 ppc sparc alpha mips hppa ia64 amd64 ppc64 s390"
+SLOT="1"
+KEYWORDS="x86 ppc sparc mips alpha arm hppa ia64 amd64 ppc64 s390"
+IUSE=""
-src_unpack() {
+DEPEND="virtual/glibc"
- unpack db.${PV}.tar.gz
- cd ${S}
- patch -p1 < ${FILESDIR}/db.${PV}.patch
+S=${WORKDIR}/db.${PV}
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/db.${PV}.patch
}
src_compile() {
-
cd ${S}/PORT/linux
make ${MAKEOPTS} OORG="${CFLAGS} -fomit-frame-pointer" prefix=/usr || die
-
}
src_install () {
-
cd ${S}/PORT/linux
- cp libdb.a libdb1.a
- dolib.a libdb1.a
- cp libdb.so.2 libdb1.so.2
- dolib.so libdb1.so.2
+ newlib.a libdb.a libdb1.a || die "newlib.a failed"
+ newlib.so libdb.so.2 libdb1.so.2 || die "newlib.so failed"
dosym libdb1.so.2 /usr/lib/libdb1.so
dosym libdb1.so.2 /usr/lib/libdb.so.2
dosym libdb1.so.2 /usr/lib/libndbm.so
@@ -48,8 +46,7 @@ src_install () {
doins include/ndbm.h
dosed "s:<db.h>:<db1/db.h>:" /usr/include/db1/ndbm.h
dosym db1/ndbm.h /usr/include/ndbm.h
- cp db_dump185 db1_dump185
- dobin db1_dump185
+ newbin db_dump185 db1_dump185
cd ${S}
dodoc changelog README
@@ -57,7 +54,4 @@ src_install () {
dodoc docs/*.ps
docinto hash
dodoc hash/README
-
}
-
-