diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2009-08-19 13:54:59 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2009-08-19 13:54:59 +0000 |
commit | af000beeb4c915fb5813367d639b1ac21bfc942f (patch) | |
tree | 2fc23dfebe309ba9b4350c0fa93c794e2d6adb92 /app-crypt/qca-logger | |
parent | Migrate to EAPI 2 in order to get rid of built_with_use. (diff) | |
download | gentoo-2-af000beeb4c915fb5813367d639b1ac21bfc942f.tar.gz gentoo-2-af000beeb4c915fb5813367d639b1ac21bfc942f.tar.bz2 gentoo-2-af000beeb4c915fb5813367d639b1ac21bfc942f.zip |
Migrate to EAPI 2 in order to nuke built_with_use.
(Portage version: 2.2_rc38/cvs/Linux i686)
Diffstat (limited to 'app-crypt/qca-logger')
-rw-r--r-- | app-crypt/qca-logger/ChangeLog | 12 | ||||
-rw-r--r-- | app-crypt/qca-logger/qca-logger-2.0.0_beta2.ebuild | 25 |
2 files changed, 17 insertions, 20 deletions
diff --git a/app-crypt/qca-logger/ChangeLog b/app-crypt/qca-logger/ChangeLog index a6b4dcf0d105..34fd47ce2d97 100644 --- a/app-crypt/qca-logger/ChangeLog +++ b/app-crypt/qca-logger/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-crypt/qca-logger # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/qca-logger/ChangeLog,v 1.8 2009/07/21 16:49:41 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/qca-logger/ChangeLog,v 1.9 2009/08/19 13:54:59 betelgeuse Exp $ + + 19 Aug 2009; Petteri Räty <betelgeuse@gentoo.org> + qca-logger-2.0.0_beta2.ebuild: + Migrate to EAPI 2 in order to nuke built_with_use. 21 Jul 2009; Raúl Porcel <armin76@gentoo.org> qca-logger-2.0.0_beta2.ebuild: @@ -40,6 +44,8 @@ -qca-logger-2.0.0_beta1.ebuild, +qca-logger-2.0.0_beta2.ebuild: Added qca-logger-2.0.0_beta2.ebuild. +*qca-logger-2.0.0_beta1 (06 Nov 2007) + 06 Nov 2007; Ingmar Vanhassel <ingmar.vanhassel@gmail.com> -qca-logger-0.1_p20070829-r1.ebuild, +qca-logger-2.0.0_beta1.ebuild: Added qca-logger-2.0.0_beta1.ebuild, thanks to Davide Pesavento in Bug 129536. @@ -48,12 +54,16 @@ -qca-logger-0.1_p20070829.ebuild, qca-logger-0.1_p20070829-r1.ebuild: Minor changes to the ebuild, thanks to Davide Pesavento. See bug #129536. Removed old '-r0' ebuild. + +*qca-logger-0.1_p20070829-r1 (10 Sep 2007) 10 Sep 2007; Emanuele A. Bagnaschi <zephyrus@mirach.it> +qca-logger-0.1_p20070829-r1.ebuild: Updated to reflect change about the behaviour of debug builds. Thanks to Davide Pesavento. +*qca-logger-0.1_p20070829 (07 Sep 2007) + 07 Sep 2007; Emanuele A. Bagnaschi <zephyrus@mirach.it> +qca-logger-0.1_p20070829.ebuild: Added qca-logger-0.1_p20070829. Moving to a more sane qca2 framework. Many diff --git a/app-crypt/qca-logger/qca-logger-2.0.0_beta2.ebuild b/app-crypt/qca-logger/qca-logger-2.0.0_beta2.ebuild index f2439b142eb8..cd9e222b5767 100644 --- a/app-crypt/qca-logger/qca-logger-2.0.0_beta2.ebuild +++ b/app-crypt/qca-logger/qca-logger-2.0.0_beta2.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/qca-logger/qca-logger-2.0.0_beta2.ebuild,v 1.8 2009/07/21 16:49:41 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/qca-logger/qca-logger-2.0.0_beta2.ebuild,v 1.9 2009/08/19 13:54:59 betelgeuse Exp $ + +EAPI="2" inherit eutils qt4 @@ -16,26 +18,12 @@ SLOT="2" KEYWORDS="alpha amd64 ia64 ~ppc64 sparc x86 ~x86-fbsd" IUSE="debug" -DEPEND=">=app-crypt/qca-${QCA_VER}" +DEPEND=">=app-crypt/qca-${QCA_VER}[debug?]" 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() { +src_configure() { # cannot use econf because of non-standard configure script ./configure \ --qtdir=/usr \ @@ -44,10 +32,9 @@ src_compile() { || die "configure failed" eqmake4 ${PN}.pro - emake || die "make failed" } src_install() { emake INSTALL_ROOT="${D}" install || die "make install failed" - dodoc README + dodoc README || die } |