summaryrefslogtreecommitdiff
blob: 9d791fd98593c3f8971cbf26e33ca87c26e3104e (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
45
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit perl-module

DESCRIPTION="A password profiler"
HOMEPAGE="http://www.remote-exploit.org/codes_wyd.html"
SRC_URI="http://www.remote-exploit.org/codes/wyd/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE="catdoc jhead mp3info xpdf"
#IUSE="catdoc jhead mp3info pdf oodoc"

DEPEND=""
RDEPEND="dev-lang/perl
	catdoc? ( app-text/catdoc )
	jhead? ( media-gfx/jhead )
	mp3info? ( media-sound/mp3info )
	xpdf? ( app-text/xpdf )"

src_install() {
	exeinto /usr/bin
	doexe wyd.pl
	dodoc BUGS TODO README CHANGES || die
	docinto docs
	dodoc docs/* || die
	insinto "/usr/share/doc/${P}/testfiles"
	doins testfiles/* || die

	perlinfo

	insinto "${VENDOR_LIB}/wlgmod"
	doins wlgmod/*.pm

	elog "Be aware that wyd will try to call wlgmod::odt, which needs"
	elog "OpenOffice::OODoc (http://www.cpan.org/modules/index.html)."
	elog "wyd.pl will bails, that's normal."
	elog "You can help in integrating all the features of wyd by porting"
	elog "OpenOffice::OODoc to Gentoo."

}