blob: ca5f2df7b1db813f4ae4ada95e377134a660d65f (
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
41
42
43
|
# 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/cracklib/cracklib-2.7-r1.ebuild,v 1.9 2000/12/24 09:55:16 achim Exp $
A=cracklib2_2.7.orig.tar.gz
A0=${P}-redhat.patch
S=${WORKDIR}/cracklib,2.7
DESCRIPTION="Cracklib"
SRC_URI="ftp://ftp.debian.org/debian/dists/potato/main/source/utils/cracklib2_2.7.orig.tar.gz"
DEPEND=">=sys-libs/glibc-2.1.3"
RDEPEND="$DEPEND
>=sys-apps/bash-2.04"
src_unpack() {
unpack ${A}
cd ${S}
patch -p1 <${O}/files/${A0}
}
src_compile() {
cd ${S}
# Parallel mke not supported
try make DICTPATH=\"/usr/share/cracklib/pw_dict\" all
}
src_install() {
cd ${S}
into /usr
dodir /usr/lib
dodir /usr/sbin
dodir /usr/include
dodir /usr/share/cracklib
ROOT=${D} try make DICTPATH=\"/usr/share/cracklib/pw_dict\" install
mv ${D}/usr/lib ${D}
preplib /usr
dodoc HISTORY LICENCE MANIFEST POSTER README
}
|