summaryrefslogtreecommitdiff
blob: cbf6ff7c6122db59906ca361aba71c020b4aeada (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/otpcalc/otpcalc-0.96.ebuild,v 1.10 2005/01/01 11:15:59 eradicator Exp $

DESCRIPTION="A One Time Password and S/Key calculator for X"
HOMEPAGE="http://killa.net/infosec/otpCalc/"
SRC_URI="http://killa.net/infosec/otpCalc/otpCalc-${PV}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 alpha"
IUSE=""

DEPEND="=x11-libs/gtk+-1.2*
	virtual/x11
	virtual/libc"

S=${WORKDIR}/${P/c/C}

src_unpack() {
	unpack ${A}
	sed -i -e "s/VERSION/${PV}/g" ${S}/otpCalc.man
	sed -i "s#-s -O3#${CFLAGS}#g" ${S}/Makefile.in
}

src_install() {
	newman otpCalc.man otpCalc.1
	dobin otpCalc || die
}