summaryrefslogtreecommitdiff
blob: 59fbb9d38bd79fc93d7388912ddcfbff5381121f (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
46
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=2

AT_NOELIBTOOLIZE=yes

inherit base eutils autotools

DESCRIPTION="A curses (text) based password encryption tool"
HOMEPAGE="http://www.guengel.ch/myapps/yapet/"
URI_PREFIX="http://www.guengel.ch/myapps/yapet/downloads/"
SRC_URI="${URI_PREFIX}${P}.tar.bz2
	${URI_PREFIX}patches/${PN}_csv2yapet-${PV}.diff
	${URI_PREFIX}patches/${PN}_cfgfile-${PV}.diff
	${URI_PREFIX}patches/${PN}_vikeys-${PV}.diff"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~x86"
IUSE="nls"

RDEPEND=">=sys-libs/ncurses-5.6
	>=dev-libs/openssl-0.9.7"
DEPEND="nls? ( sys-devel/gettext )
	${RDEPEND}"

PATCHES=(
	"${DISTDIR}/yapet_csv2yapet-${PV}.diff"
	"${DISTDIR}/yapet_cfgfile-${PV}.diff"
	"${DISTDIR}/yapet_vikeys-${PV}.diff"
)

src_prepare() {
	base_src_prepare
	eautoreconf
}

src_configure() {
	econf --enable-terminal-title \
		--enable-csv2yapet \
		--disable-source-doc \
		--disable-build-doc \
		$(use_enable nls)
}