diff options
author | Simon Stelling <blubb@gentoo.org> | 2007-02-13 14:04:01 +0000 |
---|---|---|
committer | Simon Stelling <blubb@gentoo.org> | 2007-02-13 14:04:01 +0000 |
commit | c864ec767e0d1b4fe843fbbc86acb934f1cedb63 (patch) | |
tree | 22969d4cf0471fd37c9346598cfab1074c4ca83f /app-emulation/emul-linux-x86-baselibs | |
parent | kill some unneeded files; partly fixes bug 166584 (diff) | |
download | gentoo-2-c864ec767e0d1b4fe843fbbc86acb934f1cedb63.tar.gz gentoo-2-c864ec767e0d1b4fe843fbbc86acb934f1cedb63.tar.bz2 gentoo-2-c864ec767e0d1b4fe843fbbc86acb934f1cedb63.zip |
kill some unneeded files; partly fixes bug 166584
(Portage version: 2.1.2-r9)
Diffstat (limited to 'app-emulation/emul-linux-x86-baselibs')
-rw-r--r-- | app-emulation/emul-linux-x86-baselibs/ChangeLog | 6 | ||||
-rw-r--r-- | app-emulation/emul-linux-x86-baselibs/emul-linux-x86-baselibs-10.0.ebuild | 19 |
2 files changed, 17 insertions, 8 deletions
diff --git a/app-emulation/emul-linux-x86-baselibs/ChangeLog b/app-emulation/emul-linux-x86-baselibs/ChangeLog index 124ba4b7bc98..a19bbd06d5dc 100644 --- a/app-emulation/emul-linux-x86-baselibs/ChangeLog +++ b/app-emulation/emul-linux-x86-baselibs/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-emulation/emul-linux-x86-baselibs # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-baselibs/ChangeLog,v 1.64 2007/02/12 09:07:51 blubb Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-baselibs/ChangeLog,v 1.65 2007/02/13 14:04:01 blubb Exp $ + + 13 Feb 2007; Simon Stelling <blubb@gentoo.org> + emul-linux-x86-baselibs-10.0.ebuild: + kill some unneeded files; partly fixes bug 166584 12 Feb 2007; Simon Stelling <blubb@gentoo.org> +emul-linux-x86-baselibs-10.0.ebuild: diff --git a/app-emulation/emul-linux-x86-baselibs/emul-linux-x86-baselibs-10.0.ebuild b/app-emulation/emul-linux-x86-baselibs/emul-linux-x86-baselibs-10.0.ebuild index cf65060634cd..4c6a9c4a271c 100644 --- a/app-emulation/emul-linux-x86-baselibs/emul-linux-x86-baselibs-10.0.ebuild +++ b/app-emulation/emul-linux-x86-baselibs/emul-linux-x86-baselibs-10.0.ebuild @@ -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/app-emulation/emul-linux-x86-baselibs/emul-linux-x86-baselibs-10.0.ebuild,v 1.3 2007/02/12 09:07:51 blubb Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-baselibs/emul-linux-x86-baselibs-10.0.ebuild,v 1.4 2007/02/13 14:04:01 blubb Exp $ DESCRIPTION="Provides precompiled 32bit libraries" HOMEPAGE="http://amd64.gentoo.org/emul/content.xml" @@ -87,13 +87,18 @@ src_unpack() { } src_install() { - [[ -d ${S}/etc/revdep-rebuild ]] && rm -rf ${S}/etc/revdep-rebuild + # nobody needs *.la, *.h *.a + find ${S} -type f -name '*.a' -or -name '*.la' -or -name '*.h' \ + | xargs rm -f - if [[ -d ${S}/etc/env.d ]] ; then - for f in ${S}/etc/env.d/* ; do - mv -f $f{,-emul} - done - fi + + 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 cp -a "${WORKDIR}"/* "${D}"/ || die "copying files failed!" } |