public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Pacho Ramos (pacho)" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in eclass: emul-linux-x86.eclass
Date: Sat, 29 Jan 2011 21:46:33 +0000 (UTC)	[thread overview]
Message-ID: <20110129214633.80F8720054@flycatcher.gentoo.org> (raw)

pacho       11/01/29 21:46:33

  Modified:             emul-linux-x86.eclass
  Log:
  Provide a 'development' USE for installing .pc files as requested in bug #262414. Thanks a lot to Markos Chandras for his help.

Revision  Changes    Path
1.6                  eclass/emul-linux-x86.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/emul-linux-x86.eclass?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/emul-linux-x86.eclass?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/emul-linux-x86.eclass?r1=1.5&r2=1.6

Index: emul-linux-x86.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/emul-linux-x86.eclass,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- emul-linux-x86.eclass	22 Feb 2010 20:52:52 -0000	1.5
+++ emul-linux-x86.eclass	29 Jan 2011 21:46:33 -0000	1.6
@@ -1,6 +1,6 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/emul-linux-x86.eclass,v 1.5 2010/02/22 20:52:52 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/emul-linux-x86.eclass,v 1.6 2011/01/29 21:46:33 pacho Exp $
 
 #
 # Original Author: Mike Doty <kingtaco@gentoo.org>
@@ -8,9 +8,17 @@
 # Purpose: Providing a template for the app-emulation/emul-linux-* packages
 #
 
+inherit versionator
+
+if version_is_at_least 20110129; then
+	IUSE="development"
+else
+	IUSE=""
+fi
+
 EXPORT_FUNCTIONS src_unpack src_install
 
-SRC_URI="mirror://gentoo/${PN}-${PV}.tar.bz2"
+SRC_URI="http://dev.gentoo.org/~pacho/emul/${P}.tar.bz2"
 
 DESCRIPTION="Provides precompiled 32bit libraries"
 #HOMEPAGE="http://amd64.gentoo.org/emul/content.xml"
@@ -20,7 +28,6 @@
 S=${WORKDIR}
 
 SLOT="0"
-IUSE=""
 
 DEPEND=">=sys-apps/findutils-4.2.26"
 RDEPEND=""
@@ -29,6 +36,7 @@
 	unpack ${A}
 	cd "${S}"
 
+	has development "${IUSE//+}" && use development && ALLOWED="${ALLOWED}|/usr/lib32/pkgconfig"
 	ALLOWED=${ALLOWED:-^${S}/etc/env.d}
 	find "${S}" ! -type d ! -name '*.so*' | egrep -v "${ALLOWED}" | xargs -d $'\n' rm -f || die 'failed to remove everything but *.so*'
 }






             reply	other threads:[~2011-01-29 21:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-29 21:46 Pacho Ramos (pacho) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-06-28  2:37 [gentoo-commits] gentoo-x86 commit in eclass: emul-linux-x86.eclass Mike Frysinger (vapier)
2013-01-12 16:53 Mike Frysinger (vapier)
2012-11-02 16:38 Mike Frysinger (vapier)
2011-07-22 18:10 Pacho Ramos (pacho)
2011-02-07 11:46 Pacho Ramos (pacho)
2011-01-30  0:23 Pacho Ramos (pacho)
2010-02-22 20:52 Pacho Ramos (pacho)
2007-11-15  5:52 Mike Doty (kingtaco)
2007-11-14  3:42 Mike Doty (kingtaco)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110129214633.80F8720054@flycatcher.gentoo.org \
    --to=pacho@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox