blob: d8f1d1ef75ad7bb0a8fe83720519d967c654466d (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils
DESCRIPTION="Python bindings for cracklib."
HOMEPAGE="http://www.nongnu.org/python-crack/"
SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~x86 ~amd64"
RESTRICT="mirror"
DEPEND=">=sys-libs/cracklib-2.8.9-r1
>=dev-lang/python-2.3.6"
RDEPEND="${DEPEND}"
src_compile() {
DEFAULT_DICTPATH="/usr/share/dict" econf || die "econf failed"
emake || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
}
|