1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
10 DESCRIPTION
="Logger plugin for QCA"
11 HOMEPAGE
="http://delta.affinix.com/qca/"
12 SRC_URI
="http://delta.affinix.com/download/qca/${QCA_VER/-*/}/${QCA_VER/*-/}/${MY_P}.tar.bz2"
16 KEYWORDS
="~amd64 ~x86"
19 RDEPEND
="=app-crypt/qca-2*"
22 S
="${WORKDIR}/${MY_P}"
25 if use debug
&& ! built_with_use
'=app-crypt/qca-2*' debug
; then
27 einfo
"You are trying to compile ${PN} package with active USE=\"debug\""
28 einfo
"while qca is build without this particular flag. It will not"
31 einfo
"Possible solutions to this problem are:"
32 einfo
"a) install package ${PN} without debug USE flag"
33 einfo
"b) re-emerge qca with debug USE flag"
35 die
"can't emerge ${PN} with debug USE flag"
40 local myconf
="--release"
41 use debug
&& myconf
="--debug"
45 --no-separate-debug-info \
46 ${myconf} || die
"configure failed"
49 emake || die
"make failed"
53 emake INSTALL_ROOT
="${D}" install || die
"make install failed"