1 |
ssuominen 14/02/27 17:12:01 |
2 |
|
3 |
Modified: xfconf.eclass |
4 |
Log: |
5 |
get rid of base.eclass, mostly thanks to einstalldocs introduction to eutils, thanks to creffert for some hints |
6 |
|
7 |
Revision Changes Path |
8 |
1.46 eclass/xfconf.eclass |
9 |
|
10 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/xfconf.eclass?rev=1.46&view=markup |
11 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/xfconf.eclass?rev=1.46&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/xfconf.eclass?r1=1.45&r2=1.46 |
13 |
|
14 |
Index: xfconf.eclass |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/xfconf.eclass,v |
17 |
retrieving revision 1.45 |
18 |
retrieving revision 1.46 |
19 |
diff -u -r1.45 -r1.46 |
20 |
--- xfconf.eclass 28 Nov 2012 12:41:23 -0000 1.45 |
21 |
+++ xfconf.eclass 27 Feb 2014 17:12:01 -0000 1.46 |
22 |
@@ -1,6 +1,6 @@ |
23 |
# Copyright 1999-2012 Gentoo Foundation |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/xfconf.eclass,v 1.45 2012/11/28 12:41:23 ssuominen Exp $ |
26 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/xfconf.eclass,v 1.46 2014/02/27 17:12:01 ssuominen Exp $ |
27 |
|
28 |
# @ECLASS: xfconf.eclass |
29 |
# @MAINTAINER: |
30 |
@@ -22,7 +22,7 @@ |
31 |
unset _xfconf_live |
32 |
[[ $PV == *9999* ]] && _xfconf_live=git-2 |
33 |
|
34 |
-inherit ${_xfconf_live} autotools base eutils fdo-mime gnome2-utils libtool |
35 |
+inherit ${_xfconf_live} autotools eutils fdo-mime gnome2-utils libtool |
36 |
|
37 |
EGIT_BOOTSTRAP=autogen.sh |
38 |
EGIT_REPO_URI="git://git.xfce.org/xfce/${MY_PN:-${PN}}" |
39 |
@@ -78,10 +78,13 @@ |
40 |
|
41 |
# @FUNCTION: xfconf_src_prepare |
42 |
# @DESCRIPTION: |
43 |
-# Run base_src_prepare and eautoreconf or elibtoolize |
44 |
+# Process PATCHES with epatch and run epatch_user followed by run of |
45 |
+# elibtoolize, or eautoreconf if EAUTORECONF is set. |
46 |
xfconf_src_prepare() { |
47 |
debug-print-function ${FUNCNAME} "$@" |
48 |
- base_src_prepare |
49 |
+ |
50 |
+ [[ ${PATCHES[@]} ]] && epatch "${PATCHES[@]}" |
51 |
+ epatch_user |
52 |
|
53 |
if [[ -n $EAUTORECONF ]]; then |
54 |
AT_M4DIR=${EPREFIX}/usr/share/xfce4/dev-tools/m4macros eautoreconf |
55 |
@@ -101,7 +104,8 @@ |
56 |
|
57 |
# @FUNCTION: xfconf_src_install |
58 |
# @DESCRIPTION: |
59 |
-# Run emake install and install documentation in the DOCS array |
60 |
+# Run emake install to DESTDIR, einstalldocs to process DOCS and |
61 |
+# prune_libtool_files --all to always remove libtool files (.la) |
62 |
xfconf_src_install() { |
63 |
debug-print-function ${FUNCNAME} "$@" |
64 |
|
65 |
@@ -110,7 +114,9 @@ |
66 |
touch ChangeLog |
67 |
fi |
68 |
|
69 |
- base_src_install "$@" || die |
70 |
+ emake DESTDIR="${D}" "$@" install |
71 |
+ |
72 |
+ einstalldocs |
73 |
|
74 |
prune_libtool_files --all |
75 |
} |