ChangeLog

# ChangeLog for app-crypt/qca-ossl
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/qca-ossl/ChangeLog,v 1.6 2008/03/27 16:59:21 jer Exp $

27 Mar 2008; Jeroen Roovers qca-ossl-2.0.0_beta3.ebuild:
Marked ~hppa (bug #211667).

27 Mar 2008; Markus Rothe
qca-ossl-2.0.0_beta3.ebuild:
Added ~ppc

26 Mar 2008; Raúl Porcel
qca-ossl-2.0.0_beta3.ebuild:
Add ~alpha/~ia64/~sparc wrt #213868

15 Mar 2008; Markus Rothe
qca-ossl-2.0.0_beta3.ebuild:
Added ~ppc64

14 Jan 2008; Wulf C. Krueger
qca-ossl-2.0.0_beta3.ebuild:
Removed accidental RESTRICT=mirror.

13 Jan 2008; Wulf C. Krueger +metadata.xml,
+qca-ossl-2.0.0_beta3.ebuild:
Initial import to the tree as per bug 129536.

*qca-ossl-2.0.0_beta3 (15 Dec 2007)

15 Dec 2007; Ingmar Vanhassel
-qca-ossl-2.0.0_beta1.ebuild, +qca-ossl-2.0.0_beta3.ebuild:
Added qca-ossl-2.0.0_beta3.ebuild.

06 Nov 2007; Ingmar Vanhassel
-qca-ossl-0.1_p20070904-r1.ebuild, +qca-ossl-2.0.0_beta1.ebuild:
Added qca-ossl-2.0.0_beta1.ebuild, thanks to Davide Pesavento in Bug 129536.

04 Oct 2007; Emanuele A. Bagnaschi
-qca-ossl-0.1_p20070904.ebuild, qca-ossl-0.1_p20070904-r1.ebuild:
Minor changes to the ebuild, thanks to Davide Pesavento. See bug #129536.
Removed '-r0' ebuild.

10 Sep 2007; Emanuele A. Bagnaschi
+qca-ossl-0.1_p20070904-r1.ebuild:
Updated to reflect change about the behaviour of debug builds.
Thanks to Davide Pesavento.

07 Sep 2007; Emanuele A. Bagnaschi
+qca-ossl-0.1_p20070904.ebuild:
Added qca-ossl-0.1_p20070904. Moving to a more sane qca2 framework. Many
thanks to Davide Pesavento and Alon Bar-Lev, see bug #129536.

Manifest

DIST qca-ossl-2.0.0-beta3.tar.bz2 49188 RMD160 c979c3c3427eb45e8866e28746f83966e8bcf3c2 SHA1 dd925e8732ff76f24f9f90f4094abaf2f0ac27bf SHA256 08e09ff586b184d5fb53b88f0b48eed0a7bf0a5f210a9f97a76cf4cd5446c67b
EBUILD qca-ossl-2.0.0_beta3.ebuild 1483 RMD160 a7fbe4cf8577e6733bfdaec92a61840919aa840f SHA1 ef4fd0de13535e1dcb398f82a57ece91657e7c48 SHA256 faf65a8d93b6d77d139d91ffd7c378804fb49501a11a54e73f85046e84f5e839
MISC ChangeLog 1954 RMD160 89eebc6a6195f72a600a64fd1517244f1f457c6a SHA1 0fcaffd76667224a5e17fc57ecec88859018c9f6 SHA256 240d6d744f5a6dfc953662fc8467aac414990b8c865b91276a5577cbac686485
MISC metadata.xml 192 RMD160 745ecce4d913885d0c5794b96fafd63a29a6e19e SHA1 fe4c3a2accae45b2ade98c5b45a3bd4533aac681 SHA256 2f70cf009da734f5a0166d90a267b186b6a4148cec4778a7f27ca8ef38709096

metadata.xml




kde
crypto
qt

qca-ossl-2.0.0_beta3.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/qca-ossl/qca-ossl-2.0.0_beta3.ebuild,v 1.6 2008/03/27 16:59:21 jer Exp $

inherit eutils qt4

MY_P="${P/_/-}"
QCA_VER="${PV%.*}"

DESCRIPTION="TLS, S/MIME, PKCS#12, crypto algorithms plugin for QCA"
HOMEPAGE="http://delta.affinix.com/qca/"
SRC_URI="http://delta.affinix.com/download/qca/${QCA_VER}/plugins/${MY_P}.tar.bz2"

LICENSE="LGPL-2"
SLOT="2"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="debug"

DEPEND=">=app-crypt/qca-${QCA_VER}
>=dev-libs/openssl-0.9.6"
RDEPEND="${DEPEND}"

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

pkg_setup() {
if use debug && ! built_with_use ">=app-crypt/qca-${QCA_VER}" debug; then
echo
eerror "You are trying to compile ${PN} with USE=\"debug\""
eerror "while qca is built without this flag. It will not work."
echo
eerror "Possible solutions to this problem are:"
eerror "a) install ${PN} without debug USE flag"
eerror "b) re-emerge qca with debug USE flag"
echo
die "can't emerge ${PN} with debug USE flag"
fi
}

src_compile() {
# cannot use econf because of non-standard configure script
./configure \
--qtdir=/usr \
$(use debug && echo "--debug" || echo "--release") \
--no-separate-debug-info \
|| die "configure failed"

eqmake4 ${PN}.pro
emake || die "emake failed"
}

src_install() {
emake INSTALL_ROOT="${D}" install || die "emake install failed"
}