summaryrefslogtreecommitdiff
blob: a595a673f62abd3414c045d8f4d78f3dd3c8a2ef (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/pwsafe/pwsafe-0.2.0.ebuild,v 1.3 2007/07/09 09:03:48 taviso Exp $

inherit eutils

DESCRIPTION="PasswordSafe Compatible Commandline Password Manager"
HOMEPAGE="http://nsd.dyndns.org/pwsafe/"
SRC_URI="http://nsd.dyndns.org/pwsafe/releases/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"

IUSE="X readline"

DEPEND="sys-libs/ncurses
		dev-libs/openssl
		readline? ( sys-libs/readline )
		X? ( || ( (
					x11-libs/libSM
					x11-libs/libICE
					x11-libs/libXmu
					x11-libs/libX11
				)
				virtual/x11
			)
		)"
RDEPEND="${DEPEND}"

src_compile() {
	econf $(use_with X x) $(use_with readline)
	emake
}

src_install() {
	doman pwsafe.1
	dobin pwsafe
	dodoc README NEWS
}