summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2009-08-16 09:10:44 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2009-08-16 09:10:44 +0000
commit11af64663b8e9da23b1a953198ea0aa09f0795ba (patch)
tree0d1c41ecd2ae9754bacaaebf80a445a15f087d39 /x11-plugins/pidgin-latex
parentMigrate to EAPI 2 in order to get rid of built_with_use. (diff)
downloadgentoo-2-11af64663b8e9da23b1a953198ea0aa09f0795ba.tar.gz
gentoo-2-11af64663b8e9da23b1a953198ea0aa09f0795ba.tar.bz2
gentoo-2-11af64663b8e9da23b1a953198ea0aa09f0795ba.zip
Migrate to EAPI 2 in order to get rid of built_with_use.
(Portage version: 2.2_rc38/cvs/Linux i686)
Diffstat (limited to 'x11-plugins/pidgin-latex')
-rw-r--r--x11-plugins/pidgin-latex/ChangeLog8
-rw-r--r--x11-plugins/pidgin-latex/pidgin-latex-1.2.1.ebuild19
2 files changed, 13 insertions, 14 deletions
diff --git a/x11-plugins/pidgin-latex/ChangeLog b/x11-plugins/pidgin-latex/ChangeLog
index 6d809182d95f..b1d7f45d257e 100644
--- a/x11-plugins/pidgin-latex/ChangeLog
+++ b/x11-plugins/pidgin-latex/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-plugins/pidgin-latex
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/pidgin-latex/ChangeLog,v 1.8 2008/09/02 22:26:40 opfer Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/pidgin-latex/ChangeLog,v 1.9 2009/08/16 09:10:44 betelgeuse Exp $
+
+ 16 Aug 2009; Petteri Räty <betelgeuse@gentoo.org>
+ pidgin-latex-1.2.1.ebuild:
+ Migrate to EAPI 2 in order to get rid of built_with_use.
02 Sep 2008; Christian Faulhammer <opfer@gentoo.org>
pidgin-latex-1.0.ebuild, pidgin-latex-1.2.1.ebuild:
diff --git a/x11-plugins/pidgin-latex/pidgin-latex-1.2.1.ebuild b/x11-plugins/pidgin-latex/pidgin-latex-1.2.1.ebuild
index b8e86f8d9f82..40bd8ded4009 100644
--- a/x11-plugins/pidgin-latex/pidgin-latex-1.2.1.ebuild
+++ b/x11-plugins/pidgin-latex/pidgin-latex-1.2.1.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/pidgin-latex/pidgin-latex-1.2.1.ebuild,v 1.2 2008/09/02 22:26:40 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/pidgin-latex/pidgin-latex-1.2.1.ebuild,v 1.3 2009/08/16 09:10:44 betelgeuse Exp $
+
+EAPI="2"
inherit flag-o-matic multilib eutils
@@ -13,7 +15,7 @@ SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
-DEPEND="net-im/pidgin
+DEPEND="net-im/pidgin[gtk]
>=x11-libs/gtk+-2"
RDEPEND="${DEPEND}
virtual/latex-base
@@ -21,13 +23,6 @@ RDEPEND="${DEPEND}
S=${WORKDIR}/${PN}
-pkg_setup() {
- if ! built_with_use net-im/pidgin gtk; then
- eerror "You need to compile net-im/pidgin with USE=gtk"
- die "Missing gtk USE flag on net-im/pidgin"
- fi
-}
-
src_compile()
{
append-flags -fPIC
@@ -36,7 +31,7 @@ src_compile()
src_install()
{
- make LIB_INSTALL_DIR="${D}/usr/$(get_libdir)/pidgin" install PREFIX="${D}/usr" \
+ emake LIB_INSTALL_DIR="${D}/usr/$(get_libdir)/pidgin" install PREFIX="${D}/usr" \
|| die "make install failed"
- dodoc README CHANGELOG TODO
+ dodoc README CHANGELOG TODO || die
}