summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/emul-linux-x86-baselibs/emul-linux-x86-baselibs-10.0.ebuild')
-rw-r--r--app-emulation/emul-linux-x86-baselibs/emul-linux-x86-baselibs-10.0.ebuild19
1 files changed, 12 insertions, 7 deletions
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!"
}