summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/pwdb/pwdb-0.61-r3.ebuild')
-rw-r--r--sys-libs/pwdb/pwdb-0.61-r3.ebuild80
1 files changed, 31 insertions, 49 deletions
diff --git a/sys-libs/pwdb/pwdb-0.61-r3.ebuild b/sys-libs/pwdb/pwdb-0.61-r3.ebuild
index 070e36aa8346..4d837d25ef9f 100644
--- a/sys-libs/pwdb/pwdb-0.61-r3.ebuild
+++ b/sys-libs/pwdb/pwdb-0.61-r3.ebuild
@@ -1,61 +1,43 @@
-# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# Author Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/pwdb/pwdb-0.61-r3.ebuild,v 1.1 2001/02/07 16:10:52 achim Exp $
+# Maintainer: System Team <system@gentoo.org>
+# Author: Achim Gottinger <achim@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/pwdb/pwdb-0.61-r3.ebuild,v 1.2 2001/08/22 21:18:13 drobbins Exp $
-P=pwdb-0.61
-A=${P}.tar.gz
S=${WORKDIR}/${P}
-DESCRIPTION="Password Database"
-SRC_URI="ftp://gentoolinux.sourceforge.net/pub/gentoolinux/current/distfiles/${A}"
-
+DESCRIPTION="Password database"
+SRC_URI="ftp://gentoolinux.sourceforge.net/pub/gentoolinux/current/distfiles/${P}.tar.gz"
DEPEND="virtual/glibc"
-
-RDEPEND=$DEPEND
+RDEPEND="virtual/glibc >=sys-libs/pam-0.75-r1"
src_unpack () {
-
- mkdir ${S}
- cd ${S}
- unpack ${A}
-
+ mkdir ${S}
+ cd ${S}
+ unpack ${A}
}
-src_compile() {
-
- cp Makefile Makefile.orig
- sed -e "s/^DIRS = .*/DIRS = libpwdb/" \
- -e "s:EXTRAS += :EXTRAS += ${CFLAGS} :" Makefile.orig > Makefile
- try make ${MAKEOPTS}
+src_compile() {
+ cp Makefile Makefile.orig
+ sed -e "s/^DIRS = .*/DIRS = libpwdb/" -e "s:EXTRAS += :EXTRAS += ${CFLAGS} :" Makefile.orig > Makefile
+ make ${MAKEOPTS} || die
}
src_install() {
-
- into /usr
- dodir /usr/include/pwdb
- dodir /lib
-
- try make INCLUDED=${D}/usr/include/pwdb LIBDIR=${D}/lib LDCONFIG="echo" install
- preplib /
-
- dodir /usr/lib
- mv ${D}/lib/*.a ${D}/usr/lib
-
- dodoc CHANGES Copyright CREDITS README
- docinto html
- dodoc doc/html/*
- docinto txt
- dodoc doc/*.txt
-
- insinto /etc
- doins conf/pwdb.conf
-
-
- cd ${O}/files
- insinto /etc/pam.d
- doins passwd
+ into /usr
+ dodir /usr/include/pwdb
+ dodir /lib
+ make INCLUDED=${D}/usr/include/pwdb LIBDIR=${D}/lib LDCONFIG="echo" install || die
+ preplib /
+ dodir /usr/lib
+ mv ${D}/lib/*.a ${D}/usr/lib
+ dodoc CHANGES Copyright CREDITS README
+ docinto html
+ dodoc doc/html/*
+ docinto txt
+ dodoc doc/*.txt
+ insinto /etc
+ doins conf/pwdb.conf
+ cd ${FILESDIR}
+ insinto /etc/pam.d
+ doins passwd
}
-
-
-
-