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

inherit base eutils

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 ~amd64"
IUSE="nls"

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

src_unpack() {
	unpack "${P}.tar.bz2"
	cd "${S}"
	epatch "${DISTDIR}"/${PN}_{csv2yapet,cfgfile,vikeys}-${PV}.diff
}

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