blob: 50fa2b6c6bcf76ce6c01ec0beae65e098e808827 (
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
44
|
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools
BASEVER=$(ver_cut 1-4)
DESCRIPTION="Another Password Generator"
HOMEPAGE="https://github.com/wilx/apg"
SRC_URI="https://dev.gentoo.org/~bircoph/distfiles/${P}.tar.xz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~hppa ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="cracklib"
DEPEND="virtual/libcrypt:=
cracklib? ( sys-libs/cracklib )"
RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}/${PN}-${BASEVER}-crypt_password.patch"
"${FILESDIR}/${P}-cracklib.patch"
)
DOCS=( CHANGES README THANKS TODO doc/APG_TIPS doc/rfc0972.txt doc/rfc1750.txt )
S="${WORKDIR}/${PN}"
src_prepare() {
default
eautoreconf
}
src_configure() {
econf $(use_with cracklib)
}
src_install() {
default
doman doc/man/apg*
}
|