Portage is a package management system used by Gentoo Linux
# ChangeLog for app-crypt/qca-cyrus-sasl
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/qca-cyrus-sasl/ChangeLog,v 1.4 2008/03/26 18:28:39 armin76 Exp $
26 Mar 2008; Raúl Porcel
qca-cyrus-sasl-2.0.0_beta3.ebuild:
Add ~alpha/~ia64/~sparc wrt #213868
15 Mar 2008; Markus Rothe
qca-cyrus-sasl-2.0.0_beta3.ebuild:
Added ~ppc64
14 Jan 2008; Wulf C. Krueger
qca-cyrus-sasl-2.0.0_beta3.ebuild:
Removed accidental RESTRICT=mirror.
13 Jan 2008; Wulf C. Krueger
+qca-cyrus-sasl-2.0.0_beta3.ebuild:
Initial import to the tree as per bug 129536.
*qca-cyrus-sasl-2.0.0_beta3 (15 Dec 2007)
15 Dec 2007; Ingmar Vanhassel
-qca-cyrus-sasl-2.0.0_beta1.ebuild, +qca-cyrus-sasl-2.0.0_beta3.ebuild:
Added qca-cyrus-sasl-2.0.0_beta3.ebuild.
06 Nov 2007; Ingmar Vanhassel
-qca-cyrus-sasl-0.1_p20070829-r1.ebuild,
+qca-cyrus-sasl-2.0.0_beta1.ebuild:
Added qca-cyrus-sasl-2.0.0_beta1.ebuild, thanks to Davide Pesavento in Bug
129536.
04 Oct 2007; Emanuele A. Bagnaschi
-qca-cyrus-sasl-0.1_p20070829.ebuild,
qca-cyrus-sasl-0.1_p20070829-r1.ebuild:
Minor changes to the -r1 ebuild, thanks to Davide Pesavento. See bug #129536.
Removed qca-cyrus-sasl-0.1_p20070829 ebuild.
10 Sep 2007; Emanuele A. Bagnaschi
+qca-cyrus-sasl-0.1_p20070829-r1.ebuild:
Updated to reflect change about the behaviour of debug builds.
Thanks to Davide Pesavento.
07 Sep 2007; Emanuele A. Bagnaschi
+qca-cyrus-sasl-0.1_p20070829.ebuild:
Added qca-cyrus-sasl-0.1_p20070829. Moving to a more sane qca2 framework.
Many thanks to Davide Pesavento and Alon Bar-Lev, see bug #129536.
DIST qca-cyrus-sasl-2.0.0-beta3.tar.bz2 24075 RMD160 5cadeb9234932ea6442ea696a9451b1f060d50b9 SHA1 b3c1153d91c5de52c58dd403ddde43cb022b599a SHA256 d4370c238808811a0b5e9367069296a6330b169f091c5ea5d4d18eedb6bb11b9
EBUILD qca-cyrus-sasl-2.0.0_beta3.ebuild 1446 RMD160 49dced267d29b4034811bc3dd4a6148dd14dcbb2 SHA1 a67ad936459008d5cd4b5819395a5beda4290db4 SHA256 984335a2f4f3bf4a651b40d058767a30e3379d8b9f532336a4882fe52e2c04e3
MISC ChangeLog 1898 RMD160 b09f2240182295f7782b62c99381eabc42f54ff5 SHA1 7afd3d52d97b57c3e0dbb5c2b29911b5b69edbba SHA256 b70373f8b9875d3106a4d3c5860ca70663d0413d514b263e2a574a5e273ac721
MISC metadata.xml 192 RMD160 745ecce4d913885d0c5794b96fafd63a29a6e19e SHA1 fe4c3a2accae45b2ade98c5b45a3bd4533aac681 SHA256 2f70cf009da734f5a0166d90a267b186b6a4148cec4778a7f27ca8ef38709096
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/qca-cyrus-sasl/qca-cyrus-sasl-2.0.0_beta3.ebuild,v 1.4 2008/03/26 18:28:39 armin76 Exp $
inherit eutils qt4
MY_P="${P/_/-}"
QCA_VER="${PV%.*}"
DESCRIPTION="SASL 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 ~ia64 ~ppc64 ~sparc ~x86"
IUSE="debug"
DEPEND=">=app-crypt/qca-${QCA_VER}
dev-libs/cyrus-sasl"
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 "make failed"
}
src_install() {
emake INSTALL_ROOT="${D}" install || die "make install failed"
}