1 |
pacho 11/01/31 14:00:53 |
2 |
|
3 |
Modified: ChangeLog wv-1.2.9.ebuild |
4 |
Log: |
5 |
ebuild cleanups by Gilles. |
6 |
|
7 |
(Portage version: 2.1.9.35/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.55 app-text/wv/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/wv/ChangeLog?rev=1.55&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/wv/ChangeLog?rev=1.55&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/wv/ChangeLog?r1=1.54&r2=1.55 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-text/wv/ChangeLog,v |
19 |
retrieving revision 1.54 |
20 |
retrieving revision 1.55 |
21 |
diff -u -r1.54 -r1.55 |
22 |
--- ChangeLog 31 Jan 2011 13:06:54 -0000 1.54 |
23 |
+++ ChangeLog 31 Jan 2011 14:00:53 -0000 1.55 |
24 |
@@ -1,6 +1,9 @@ |
25 |
# ChangeLog for app-text/wv |
26 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-text/wv/ChangeLog,v 1.54 2011/01/31 13:06:54 pacho Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-text/wv/ChangeLog,v 1.55 2011/01/31 14:00:53 pacho Exp $ |
29 |
+ |
30 |
+ 31 Jan 2011; Pacho Ramos <pacho@g.o> wv-1.2.9.ebuild: |
31 |
+ ebuild cleanups by Gilles. |
32 |
|
33 |
*wv-1.2.9 (31 Jan 2011) |
34 |
|
35 |
|
36 |
|
37 |
|
38 |
1.2 app-text/wv/wv-1.2.9.ebuild |
39 |
|
40 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/wv/wv-1.2.9.ebuild?rev=1.2&view=markup |
41 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/wv/wv-1.2.9.ebuild?rev=1.2&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/wv/wv-1.2.9.ebuild?r1=1.1&r2=1.2 |
43 |
|
44 |
Index: wv-1.2.9.ebuild |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/app-text/wv/wv-1.2.9.ebuild,v |
47 |
retrieving revision 1.1 |
48 |
retrieving revision 1.2 |
49 |
diff -u -r1.1 -r1.2 |
50 |
--- wv-1.2.9.ebuild 31 Jan 2011 13:06:54 -0000 1.1 |
51 |
+++ wv-1.2.9.ebuild 31 Jan 2011 14:00:53 -0000 1.2 |
52 |
@@ -1,9 +1,11 @@ |
53 |
# Copyright 1999-2011 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
-# $Header: /var/cvsroot/gentoo-x86/app-text/wv/wv-1.2.9.ebuild,v 1.1 2011/01/31 13:06:54 pacho Exp $ |
56 |
+# $Header: /var/cvsroot/gentoo-x86/app-text/wv/wv-1.2.9.ebuild,v 1.2 2011/01/31 14:00:53 pacho Exp $ |
57 |
|
58 |
EAPI="3" |
59 |
|
60 |
+inherit eutils |
61 |
+ |
62 |
DESCRIPTION="Tool for conversion of MSWord doc and rtf files to something readable" |
63 |
SRC_URI="http://abiword.org/downloads/${PN}/${PV}/${P}.tar.gz" |
64 |
HOMEPAGE="http://wvware.sourceforge.net/" |
65 |
@@ -25,18 +27,21 @@ |
66 |
>=dev-util/pkgconfig-0.9" |
67 |
|
68 |
src_configure() { |
69 |
- econf $(use_with wmf libwmf) || die "./configure failed" |
70 |
+ econf $(use_with wmf libwmf) |
71 |
+} |
72 |
+ |
73 |
+pkg_preinst() { |
74 |
+ preserve_old_lib /usr/$(get_libdir)/libwv-1.2.so.3 |
75 |
+} |
76 |
+ |
77 |
+pkg_postinst() { |
78 |
+ preserve_old_lib_notify /usr/$(get_libdir)/libwv-1.2.so.3 |
79 |
} |
80 |
|
81 |
src_install () { |
82 |
- make DESTDIR="${D}" install || die "Installation failed" |
83 |
+ emake DESTDIR="${D}" install || die "Installation failed" |
84 |
dodoc README NEWS || die |
85 |
|
86 |
rm -f "${ED}"/usr/share/man/man1/wvConvert.1 |
87 |
dosym /usr/share/man/man1/wvWare.1 /usr/share/man/man1/wvConvert.1 || die |
88 |
} |
89 |
- |
90 |
-pkg_postinst() { |
91 |
- ewarn "You have to re-emerge packages that linked against wv by running:" |
92 |
- ewarn "revdep-rebuild" |
93 |
-} |