| 1 | # Copyright 1999-2011 Gentoo Foundation |
1 | # Copyright 1999-2011 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.98 2011/07/15 17:31:37 zmedico Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.99 2011/08/14 03:46:33 nirbheek Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: gnome2.eclass |
5 | # @ECLASS: gnome2.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # gnome@gentoo.org |
7 | # gnome@gentoo.org |
| 8 | # @BLURB: |
8 | # @BLURB: |
| … | |
… | |
| 173 | rm -fr "${ED}/usr/share/applications/mimeinfo.cache" |
173 | rm -fr "${ED}/usr/share/applications/mimeinfo.cache" |
| 174 | |
174 | |
| 175 | # Delete all .la files |
175 | # Delete all .la files |
| 176 | if [[ "${GNOME2_LA_PUNT}" != "no" ]]; then |
176 | if [[ "${GNOME2_LA_PUNT}" != "no" ]]; then |
| 177 | ebegin "Removing .la files" |
177 | ebegin "Removing .la files" |
|
|
178 | if ! { has static-libs ${IUSE//+} && use static-libs; }; then |
| 178 | find "${D}" -name '*.la' -exec rm -f {} + || die "la file removal failed" |
179 | find "${D}" -name '*.la' -exec rm -f {} + || die "la file removal failed" |
|
|
180 | fi |
| 179 | eend |
181 | eend |
| 180 | fi |
182 | fi |
| 181 | } |
183 | } |
| 182 | |
184 | |
| 183 | # @FUNCTION: gnome2_pkg_preinst |
185 | # @FUNCTION: gnome2_pkg_preinst |