summaryrefslogtreecommitdiff
blob: 28052801d5bd38d3c442f5e98e0d3553742ed121 (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
35
36
37
38
39
40
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-libs/nss-db/nss-db-2.2-r1.ebuild,v 1.12 2003/06/22 05:10:31 seemant Exp $

inherit libtool || die

A=nss_db-${PV}.tar.gz
S=${WORKDIR}/nss_db-${PV}
DESCRIPTION="Allows important system files to be stored in a fast database file rather than plain text"
SRC_URI="ftp://ftp.gnu.org/gnu/glibc/${A}"
HOMEPAGE="http://www.gnu.org"
#now db needs to move to the base install, that's ok.
LICENSE="GPL-2 LGPL-2"
DEPEND=">=sys-libs/db-3.2.3-r1
        sys-devel/gettext"
KEYWORDS="x86 -ppc"
SLOT="0"
RDEPEND=">=sys-libs/db-3.2.3-r1"


src_compile() {

	elibtoolize
	try ./configure --with-db=/usr/include/db3 --prefix=/usr --libdir=/usr/lib
	try make ${MAKEOPTS}

}

src_install () {

	make DESTDIR=${D} install

	rm -rf ${D}/usr/lib
	cd ${D}/lib
	ln -s libnss_db-${PV}.so libnss_db.so

	cd ${S}
	dodoc AUTHORS COPYING* ChangeLog NEWS README THANKS
}