# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/xfconf.eclass,v 1.14 2010/03/26 12:17:16 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/xfconf.eclass,v 1.15 2010/03/30 12:10:46 ssuominen Exp $
# @ECLASS: xfconf.eclass
# @MAINTAINER:
# @DESCRIPTION:
# Run base_src_util autopatch and eautoreconf or elibtoolize
xfconf_src_unpack() {
+ debug-print-function ${FUNCNAME} "$@"
unpack ${A}
cd "${S}"
has src_prepare ${XFCONF_EXPF} || xfconf_src_prepare
# @DESCRIPTION:
# Run base_src_util autopatch and eautoreconf or elibtoolize
xfconf_src_prepare() {
+ debug-print-function ${FUNCNAME} "$@"
base_src_prepare
if [[ "${EINTLTOOLIZE}" == "yes" ]]; then
# @DESCRIPTION:
# Run econf with opts in XFCONF variable
xfconf_src_configure() {
+ debug-print-function ${FUNCNAME} "$@"
econf ${XFCONF}
}
# @DESCRIPTION:
# Run econf with opts in XFCONF variable
xfconf_src_compile() {
+ debug-print-function ${FUNCNAME} "$@"
has src_configure ${XFCONF_EXPF} || xfconf_src_configure
emake || die "emake failed"
}
# @DESCRIPTION:
# Run emake install and install documentation in DOCS variable
xfconf_src_install() {
+ debug-print-function ${FUNCNAME} "$@"
emake DESTDIR="${D}" install || die "emake install failed"
if [[ -n ${DOCS} ]]; then
# @DESCRIPTION:
# Run gnome2_icon_savelist
xfconf_pkg_preinst() {
+ debug-print-function ${FUNCNAME} "$@"
gnome2_icon_savelist
}
# @DESCRIPTION:
# Run fdo-mime_{desktop,mime}_database_update and gnome2_icon_cache_update
xfconf_pkg_postinst() {
+ debug-print-function ${FUNCNAME} "$@"
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
gnome2_icon_cache_update
# @DESCRIPTION:
# Run fdo-mime_{desktop,mime}_database_update and gnome2_icon_cache_update
xfconf_pkg_postrm() {
+ debug-print-function ${FUNCNAME} "$@"
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
gnome2_icon_cache_update