# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-fs/treesize/treesize-0.54.1.ebuild,v 1.4 2011/07/02 20:19:08 hwoarang Exp $ EAPI="4" inherit autotools base DESCRIPTION="A RSA SecurID token generator" HOMEPAGE="http://stoken.sourceforge.net/" SRC_URI="http://github.com/cernekee/stoken/archive/v${PV}.tar.gz" LICENSE="LGPL-2.1+" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="gtk" RDEPEND="gtk? ( x11-libs/gtk+:2 )" DEPEND="${RDEPEND}" src_prepare() { eautoreconf base_src_prepare } src_configure() { econf $(use_with gtk) } src_install() { emake DESTDIR="${D}" install dodoc CHANGES COPYING.LIB README.md TODO doman stoken.1 if use gtk ; then doman stoken-gui.1 fi }