summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2014-02-27 17:12:01 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2014-02-27 17:12:01 +0000
commit4ff2d9545ef377f937c8eccbc4cf58494388c659 (patch)
treee04633a1371ccd8c86c0b21ce215bd71eba419ec /eclass
parentCorrect metadata. (diff)
downloadgentoo-2-4ff2d9545ef377f937c8eccbc4cf58494388c659.tar.gz
gentoo-2-4ff2d9545ef377f937c8eccbc4cf58494388c659.tar.bz2
gentoo-2-4ff2d9545ef377f937c8eccbc4cf58494388c659.zip
get rid of base.eclass, mostly thanks to einstalldocs introduction to eutils, thanks to creffert for some hints
Diffstat (limited to 'eclass')
-rw-r--r--eclass/xfconf.eclass18
1 files changed, 12 insertions, 6 deletions
diff --git a/eclass/xfconf.eclass b/eclass/xfconf.eclass
index 265d53e3593b..350b8ecab02d 100644
--- a/eclass/xfconf.eclass
+++ b/eclass/xfconf.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/xfconf.eclass,v 1.45 2012/11/28 12:41:23 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/xfconf.eclass,v 1.46 2014/02/27 17:12:01 ssuominen Exp $
# @ECLASS: xfconf.eclass
# @MAINTAINER:
@@ -22,7 +22,7 @@ AUTOTOOLS_AUTO_DEPEND=no
unset _xfconf_live
[[ $PV == *9999* ]] && _xfconf_live=git-2
-inherit ${_xfconf_live} autotools base eutils fdo-mime gnome2-utils libtool
+inherit ${_xfconf_live} autotools eutils fdo-mime gnome2-utils libtool
EGIT_BOOTSTRAP=autogen.sh
EGIT_REPO_URI="git://git.xfce.org/xfce/${MY_PN:-${PN}}"
@@ -78,10 +78,13 @@ xfconf_src_unpack() {
# @FUNCTION: xfconf_src_prepare
# @DESCRIPTION:
-# Run base_src_prepare and eautoreconf or elibtoolize
+# Process PATCHES with epatch and run epatch_user followed by run of
+# elibtoolize, or eautoreconf if EAUTORECONF is set.
xfconf_src_prepare() {
debug-print-function ${FUNCNAME} "$@"
- base_src_prepare
+
+ [[ ${PATCHES[@]} ]] && epatch "${PATCHES[@]}"
+ epatch_user
if [[ -n $EAUTORECONF ]]; then
AT_M4DIR=${EPREFIX}/usr/share/xfce4/dev-tools/m4macros eautoreconf
@@ -101,7 +104,8 @@ xfconf_src_configure() {
# @FUNCTION: xfconf_src_install
# @DESCRIPTION:
-# Run emake install and install documentation in the DOCS array
+# Run emake install to DESTDIR, einstalldocs to process DOCS and
+# prune_libtool_files --all to always remove libtool files (.la)
xfconf_src_install() {
debug-print-function ${FUNCNAME} "$@"
@@ -110,7 +114,9 @@ xfconf_src_install() {
touch ChangeLog
fi
- base_src_install "$@" || die
+ emake DESTDIR="${D}" "$@" install
+
+ einstalldocs
prune_libtool_files --all
}