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

inherit toolchain-funcs

DESCRIPTION="A secure password generator utility that utilizes /dev/random"
HOMEPAGE="http://www.guyrutenberg.com/category/projects/spass/"
SRC_URI="http://www.guyrutenberg.com/wp-content/uploads/2007/10/${P}.tar.gz"

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

DEPEND=""
RDEPEND=""

S="${WORKDIR}/${PN}"

src_compile() {
	emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" || die "emake failed"
}

src_install() {
	dodir /usr/bin
	emake DESTDIR="${D}" install || die "install failed"
}