summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2003-11-01 23:36:32 +0000
committerSeemant Kulleen <seemant@gentoo.org>2003-11-01 23:36:32 +0000
commitd3fa1423f371f2c40018e3077e03650ab0eed188 (patch)
tree35e4bef6ee3c293c5ab08fcf52c16a74941d78cc /sys-libs/gdbm
parentversion bump (diff)
downloadhistorical-d3fa1423f371f2c40018e3077e03650ab0eed188.tar.gz
historical-d3fa1423f371f2c40018e3077e03650ab0eed188.tar.bz2
historical-d3fa1423f371f2c40018e3077e03650ab0eed188.zip
version bump
Diffstat (limited to 'sys-libs/gdbm')
-rw-r--r--sys-libs/gdbm/Manifest4
-rw-r--r--sys-libs/gdbm/files/digest-gdbm-1.8.31
-rw-r--r--sys-libs/gdbm/gdbm-1.8.3.ebuild54
3 files changed, 57 insertions, 2 deletions
diff --git a/sys-libs/gdbm/Manifest b/sys-libs/gdbm/Manifest
index abe7c539b481..9688dc08989d 100644
--- a/sys-libs/gdbm/Manifest
+++ b/sys-libs/gdbm/Manifest
@@ -1,6 +1,6 @@
-MD5 003b1094edd7b9cfcb3c30f05c6bd34d gdbm-1.8.3.ebuild 1378
+MD5 1a3842751c4bae70f29198e9b1ef6533 gdbm-1.8.3.ebuild 1302
MD5 003b1094edd7b9cfcb3c30f05c6bd34d gdbm-1.8.0-r5.ebuild 1378
-MD5 38abc1c3c65923743a2d02b2e1e1df4a ChangeLog 2004
+MD5 a701bef4957931d715d6263a8112cc93 ChangeLog 2171
MD5 8640084b5d1f0e27de1d1c7da372f00a files/gdbm-1.8.0-r5-gentoo.diff 6093
MD5 c7bef9bbd37f161be399c58c61edef94 files/digest-gdbm-1.8.3 62
MD5 017b1a2d0ae227d89ee16480e3129a3b files/digest-gdbm-1.8.0-r5 62
diff --git a/sys-libs/gdbm/files/digest-gdbm-1.8.3 b/sys-libs/gdbm/files/digest-gdbm-1.8.3
new file mode 100644
index 000000000000..1e924487734e
--- /dev/null
+++ b/sys-libs/gdbm/files/digest-gdbm-1.8.3
@@ -0,0 +1 @@
+MD5 1d1b1d5c0245b1c00aff92da751e9aa1 gdbm-1.8.3.tar.gz 228695
diff --git a/sys-libs/gdbm/gdbm-1.8.3.ebuild b/sys-libs/gdbm/gdbm-1.8.3.ebuild
new file mode 100644
index 000000000000..f8b469a344f6
--- /dev/null
+++ b/sys-libs/gdbm/gdbm-1.8.3.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2003 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.1 2003/11/01 23:36:30 seemant 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 ~arm ~ia64"
+
+DEPEND="virtual/glibc
+ berkdb? ( amd64? sys-libs/db : =sys-libs/db-1.85-r1 )"
+
+RDEPEND="virtual/glibc"
+
+src_compile() {
+ use alpha && gnuconfig_update
+ use arm && gnuconfig_update
+ use hppa && gnuconfig_update
+ use amd64 && gnuconfig_update
+ use ia64 && gnuconfig_update
+
+ if [ ! `is-flag "-fomit-frame-pointer"` ]
+ then
+ append-flags "-fomit-frame-pointer"
+ fi
+
+ local myconf
+
+ use static && myconf="${myconf} --enable-static"
+
+ econf ${myconf} || die
+ emake CFLAGS="${CFLAGS}" || die
+}
+
+src_install() {
+
+ make INSTALL_ROOT=${D} install || die
+
+ 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
+}