diff options
author | Jonathan Callen <abcd@gentoo.org> | 2010-01-14 21:46:51 +0000 |
---|---|---|
committer | Jonathan Callen <abcd@gentoo.org> | 2010-01-14 21:46:51 +0000 |
commit | 4e99a9f230f1f1725a83a6a3f566cdc902d2b6bd (patch) | |
tree | 65778843bea4b6cbcdc834d849bb3daf16051a13 /eclass | |
parent | Transfer Prefix keywords (diff) | |
download | gentoo-2-4e99a9f230f1f1725a83a6a3f566cdc902d2b6bd.tar.gz gentoo-2-4e99a9f230f1f1725a83a6a3f566cdc902d2b6bd.tar.bz2 gentoo-2-4e99a9f230f1f1725a83a6a3f566cdc902d2b6bd.zip |
emul-libs.eclass is dead! Long live emul-linux-x86.eclass!
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/emul-libs.eclass | 51 |
1 files changed, 5 insertions, 46 deletions
diff --git a/eclass/emul-libs.eclass b/eclass/emul-libs.eclass index 89d30302d7be..a7d016728efb 100644 --- a/eclass/emul-libs.eclass +++ b/eclass/emul-libs.eclass @@ -1,48 +1,7 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/emul-libs.eclass,v 1.8 2007/11/14 17:31:04 kingtaco Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/emul-libs.eclass,v 1.9 2010/01/14 21:46:51 abcd Exp $ -# -# Original Author: Simon Stelling <blubb@gentoo.org> -# Purpose: Providing a template for the app-emulation/emul-linux-* packages -# - -EXPORT_FUNCTIONS src_unpack src_install - -DESCRIPTION="Provides precompiled 32bit libraries" -HOMEPAGE="http://amd64.gentoo.org/emul/content.xml" - -RESTRICT="strip" -S=${WORKDIR} - -SLOT="0" -IUSE="" - -DEPEND=">=sys-apps/findutils-4.2.26" -RDEPEND="" - -emul-libs_src_unpack() { - einfo "Note: You can safely ignore the 'trailing garbage after EOF'" - einfo " warnings below" - - unpack ${A} - cd "${S}" - - 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*' -} - -emul-libs_src_install() { - for dir in etc/env.d etc/revdep-rebuild ; do - if [[ -d "${S}"/${dir} ]] ; then - for f in "${S}"/${dir}/* ; do - mv -f "$f"{,-emul} - done - fi - done - - # remove void directories - find "${S}" -depth -type d -print0 | xargs -0 rmdir 2&>/dev/null - - cp -pPR "${S}"/* "${D}"/ || die "copying files failed!" -} +# @DEAD +# Scheduled for removal on 2012/01/14. +ewarn "Please fix your package (${CATEGORY}/${PF}) to not use ${ECLASS}.eclass" |