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

inherit eutils qt3 toolchain-funcs

MY_P=${P/mypasswords/MyPasswordS}

DESCRIPTION="A password manager compatible with Password Safe."
HOMEPAGE="http://www.semanticgap.com/myps/"
SRC_URI="http://www.semanticgap.com/myps/release/${MY_P}.src.tgz"

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

DEPEND="$(qt_min_version 3.3)"
RDEPEND="${DEPEND}"

S=${WORKDIR}/${MY_P}

src_unpack() {
	unpack ${A}
	cd "${S}"
	epatch "${FILESDIR}/${PF}-qtdir.patch" || die "epatch failed"
}

src_compile() {
	#emake CXX=$(tc-getCXX) PREFIX="/usr" all || die "emake failed"
	emake PREFIX="/usr" all || die "emake failed"
}

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