diff options
author | Dror Levin <spatz@gentoo.org> | 2010-03-07 10:27:26 +0000 |
---|---|---|
committer | Dror Levin <spatz@gentoo.org> | 2010-03-07 10:27:26 +0000 |
commit | b1a2169edc22fd26cb03f9955096b5e5ab548367 (patch) | |
tree | e9a549de723d7c1a2766fd48cfe46a61e73d2a3c /app-admin/keepassx/keepassx-0.4.3.ebuild | |
parent | Simplify src_test(). (diff) | |
download | gentoo-2-b1a2169edc22fd26cb03f9955096b5e5ab548367.tar.gz gentoo-2-b1a2169edc22fd26cb03f9955096b5e5ab548367.tar.bz2 gentoo-2-b1a2169edc22fd26cb03f9955096b5e5ab548367.zip |
Version bump, remove old.
(Portage version: 2.2_rc65/cvs/Linux x86_64)
Diffstat (limited to 'app-admin/keepassx/keepassx-0.4.3.ebuild')
-rw-r--r-- | app-admin/keepassx/keepassx-0.4.3.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/app-admin/keepassx/keepassx-0.4.3.ebuild b/app-admin/keepassx/keepassx-0.4.3.ebuild new file mode 100644 index 000000000000..855a383bf8a7 --- /dev/null +++ b/app-admin/keepassx/keepassx-0.4.3.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/keepassx/keepassx-0.4.3.ebuild,v 1.1 2010/03/07 10:27:26 spatz Exp $ + +EAPI="2" + +inherit qt4-r2 + +DESCRIPTION="Qt password manager compatible with its Win32 and Pocket PC versions." +HOMEPAGE="http://keepassx.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="debug pch" + +DEPEND="x11-libs/qt-core:4 + x11-libs/qt-gui:4 + x11-libs/qt-xmlpatterns:4 + || ( >=x11-libs/libXtst-1.1.0 <x11-proto/xextproto-7.1.0 )" +RDEPEND="${DEPEND}" + +src_configure() { + local conf_pch + use pch && conf_pch="PRECOMPILED=1" || conf_pch="PRECOMPILED=0" + + eqmake4 ${PN}.pro -recursive \ + PREFIX="${D}/usr" \ + "${conf_pch}" +} + +src_compile() { + # workaround compile failure due to distcc, bug #214327 + PATH=${PATH/\/usr\/lib\/distcc\/bin:} + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc changelog || die "dodoc failed" +} |