summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-09-08 07:02:29 +0000
committerMike Frysinger <vapier@gentoo.org>2003-09-08 07:02:29 +0000
commit98c9253ead6689aa223495d206fb36d9761338aa (patch)
treecb89a48a20e768adf726a34133129e32587a1dd0 /sys-libs
parentrepoman old (diff)
downloadgentoo-2-98c9253ead6689aa223495d206fb36d9761338aa.tar.gz
gentoo-2-98c9253ead6689aa223495d206fb36d9761338aa.tar.bz2
gentoo-2-98c9253ead6689aa223495d206fb36d9761338aa.zip
repoman
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/nss-db/nss-db-2.2-r1.ebuild33
1 files changed, 15 insertions, 18 deletions
diff --git a/sys-libs/nss-db/nss-db-2.2-r1.ebuild b/sys-libs/nss-db/nss-db-2.2-r1.ebuild
index b54028ad712f..506d24103ae5 100644
--- a/sys-libs/nss-db/nss-db-2.2-r1.ebuild
+++ b/sys-libs/nss-db/nss-db-2.2-r1.ebuild
@@ -1,40 +1,38 @@
# 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.14 2003/07/22 20:15:52 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/nss-db/nss-db-2.2-r1.ebuild,v 1.15 2003/09/08 07:02:29 vapier Exp $
inherit libtool
-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.
+HOMEPAGE="http://www.gnu.org/"
+SRC_URI="ftp://ftp.gnu.org/gnu/glibc/nss_db-${PV}.tar.gz"
+
LICENSE="GPL-2 LGPL-2"
-DEPEND=">=sys-libs/db-3.2.3-r1
- sys-devel/gettext
- !>=sys-libs/glibc-2.3"
-KEYWORDS="x86 -ppc"
SLOT="0"
+KEYWORDS="x86 -ppc"
+
RDEPEND=">=sys-libs/db-3.2.3-r1"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ !>=sys-libs/glibc-2.3"
+
+S=${WORKDIR}/nss_db-${PV}
src_unpack() {
unpack ${A}
cd ${S}
- patch -p1 <${FILESDIR}/db3.patch
+ epatch ${FILESDIR}/db3.patch
autoconf
}
src_compile() {
-
elibtoolize
- try ./configure --with-db=/usr/include/db3 --prefix=/usr --libdir=/usr/lib
- try make ${MAKEOPTS}
-
+ ./configure --with-db=/usr/include/db3 --prefix=/usr --libdir=/usr/lib || die
+ make ${MAKEOPTS} || die
}
-src_install () {
-
+src_install() {
make DESTDIR=${D} install
rm -rf ${D}/usr/lib
@@ -44,4 +42,3 @@ src_install () {
cd ${S}
dodoc AUTHORS COPYING* ChangeLog NEWS README THANKS
}
-