summaryrefslogtreecommitdiff
blob: ab57e6a3dfe3042f8d7cf77cababd04d2d246816 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Daniel Robbins <drobbins@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/sys-libs/gdbm/gdbm-1.8.0-r2.ebuild,v 1.4 2001/08/05 22:03:09 blocke Exp $

A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="Standard GNU database libraries included for compatibility with Perl"
SRC_URI="ftp://gatekeeper.dec.com/pub/GNU/gdbm/${A}
	 ftp://prep.ai.mit.edu/gnu/gdbm/${A}"

HOMEPAGE="http://www.gnu.org/software/gdbm/gdbm.html"

DEPEND="virtual/glibc
        berkdb? ( =sys-libs/db-1.85-r1 )"

RDEPEND="virtual/glibc"

src_compile() {

    try ./configure --host=${CHOST} --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
    try make CFLAGS="${CFLAGS} -fomit-frame-pointer" ${MAKEOPTS}
}

src_install() {

    try make prefix=${D}/usr man3dir=${D}/usr/share/man/man3 \
	    infodir=${D}/usr/share/info install
    dodoc COPYING ChangeLog NEWS README

}