# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-crypt/qca/qca-2.0.2-r1.ebuild,v 1.6 2009/08/09 11:47:08 nixnut Exp $ EAPI="2" inherit eutils multilib qt4 DESCRIPTION="Qt Cryptographic Architecture (QCA)" HOMEPAGE="http://delta.affinix.com/qca/" SRC_URI="http://delta.affinix.com/download/${PN}/${PV%.*}/${P}.tar.bz2" LICENSE="LGPL-2" SLOT="2" KEYWORDS="alpha amd64 hppa ia64 ppc ~ppc64 sparc x86 ~x86-fbsd" IUSE="debug doc examples" RESTRICT="test" DEPEND="! "${WORKDIR}"/44qca2 LDPATH=/usr/${_libdir}/qca2 EOF doenvd "${WORKDIR}"/44qca2 || die if use doc; then dohtml "${S}"/apidocs/html/* || die "Failed to install documentation" fi if use examples; then insinto /usr/share/doc/${PF}/ doins -r "${S}"/examples || die "Failed to install examples" fi }