summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2000-11-30 23:15:06 +0000
committerAchim Gottinger <achim@gentoo.org>2000-11-30 23:15:06 +0000
commitb795ef40f29871a83d01839ee8ad432968396763 (patch)
treea61528cb587cc81b06df6960f98eafdf2f236a84 /sys-libs/pam
parentcute little gnome-vfs fix (diff)
downloadgentoo-2-b795ef40f29871a83d01839ee8ad432968396763.tar.gz
gentoo-2-b795ef40f29871a83d01839ee8ad432968396763.tar.bz2
gentoo-2-b795ef40f29871a83d01839ee8ad432968396763.zip
Prepared for rc3
Diffstat (limited to 'sys-libs/pam')
-rw-r--r--sys-libs/pam/pam-0.72-r1.ebuild28
1 files changed, 18 insertions, 10 deletions
diff --git a/sys-libs/pam/pam-0.72-r1.ebuild b/sys-libs/pam/pam-0.72-r1.ebuild
index 3b0a37f9be72..895386caf3d6 100644
--- a/sys-libs/pam/pam-0.72-r1.ebuild
+++ b/sys-libs/pam/pam-0.72-r1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2000 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/pam/pam-0.72-r1.ebuild,v 1.6 2000/11/13 21:29:59 achim Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.72-r1.ebuild,v 1.7 2000/11/30 23:14:00 achim Exp $
P=pam-0.72
A=Linux-PAM-0.72.tar.gz
@@ -10,8 +10,8 @@ DESCRIPTION="PAM"
SRC_URI="http://openrock.net/pub/linux/libs/pam/pre/library/${A}"
HOMEPAGE="http://www.redhat.com/linux-info/pam/"
-DEPEND=">=sys-libs/cracklib-2.7"
-RDEPEND=$DEPEND
+DEPEND=">=sys-libs/cracklib-2.7
+ >=sys-libs/pwdb-0.61"
src_unpack() {
unpack ${A}
@@ -19,7 +19,7 @@ src_unpack() {
touch .freezemake
rm default.defs
sed -e "s/CFLAGS=.*/CFLAGS=${CFLAGS} -pipe -D_REENTRANT/" \
- -e "s:FAKEROOT=.*:FAKEROOT=${WORKDIR}/../image:" defs/linux.defs > default.defs
+ -e "s:FAKEROOT=.*:FAKEROOT=${D}:" defs/linux.defs > default.defs
echo "EXTRALS=-lcrypt" >> default.defs
cp Makefile Makefile.orig
sed -e "s/DIRS = modules libpam/DIRS = libpam modules/" Makefile.orig > Makefile
@@ -29,8 +29,7 @@ src_unpack() {
}
src_compile() {
- try make
- try make
+ try make ${MAKEOPTS}
}
src_install() {
@@ -39,11 +38,20 @@ src_install() {
try make install
dosbin bin/pam_conv1
dodoc CHANGELOG Copyright README
- dodoc
+ docinto modules
+ dodoc modules/README
+ cd modules
+ for i in pam_*
+ do
+ if [ -f $i/README ]
+ then
+ docinto modules/$i
+ dodoc $i/README
+ fi
+ done
+ doman doc/man/*.[38]
cd ${D}/usr/lib
- ln -sf libpamc.so.0.72 libpamc.so.0
- ln -sf libpam.so.0.72 libpam.so.0
- ln -sf libpam_misc.so.0.72 libpam_misc.so.0
+ preplib /usr
}