Gentoo Archives: gentoo-commits

From: "Jonathan Callen (abcd)" <abcd@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/antiword: antiword-0.37.ebuild ChangeLog
Date: Mon, 05 Apr 2010 21:39:04
Message-Id: 20100405213900.453E02C04A@corvid.gentoo.org
1 abcd 10/04/05 21:39:00
2
3 Modified: antiword-0.37.ebuild ChangeLog
4 Log:
5 Bump to EAPI=3, add prefix keywords & patch
6 (Portage version: -svn/cvs/Linux i686)
7
8 Revision Changes Path
9 1.13 app-text/antiword/antiword-0.37.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/antiword/antiword-0.37.ebuild?rev=1.13&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/antiword/antiword-0.37.ebuild?rev=1.13&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/antiword/antiword-0.37.ebuild?r1=1.12&r2=1.13
14
15 Index: antiword-0.37.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/app-text/antiword/antiword-0.37.ebuild,v
18 retrieving revision 1.12
19 retrieving revision 1.13
20 diff -u -r1.12 -r1.13
21 --- antiword-0.37.ebuild 6 Sep 2009 18:43:16 -0000 1.12
22 +++ antiword-0.37.ebuild 5 Apr 2010 21:38:59 -0000 1.13
23 @@ -1,6 +1,8 @@
24 -# Copyright 1999-2009 Gentoo Foundation
25 +# Copyright 1999-2010 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-text/antiword/antiword-0.37.ebuild,v 1.12 2009/09/06 18:43:16 idl0r Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-text/antiword/antiword-0.37.ebuild,v 1.13 2010/04/05 21:38:59 abcd Exp $
29 +
30 +EAPI="3"
31
32 inherit eutils toolchain-funcs
33
34 @@ -13,32 +15,33 @@
35
36 SLOT="0"
37 LICENSE="GPL-2"
38 -KEYWORDS="alpha amd64 ~hppa ppc ppc64 sparc x86"
39 +KEYWORDS="alpha amd64 ~hppa ppc ppc64 sparc x86 ~ppc-aix ~ia64-hpux ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris"
40
41 PATCHDIR=${WORKDIR}/gentoo-antiword/patches
42
43 -src_unpack() {
44 - unpack ${A}
45 - cd "${S}"
46 +src_prepare() {
47 EPATCH_SUFFIX="diff" \
48 epatch ${PATCHDIR}
49 +
50 + epatch "${FILESDIR}"/${P}-prefix.patch
51 }
52
53 +src_configure() { :; }
54 +
55 src_compile() {
56 - emake OPT="${CFLAGS}" CC="$(tc-getCC)" LD="$(tc-getCC)" \
57 + emake PREFIX="${EPREFIX}" OPT="${CFLAGS}" CC="$(tc-getCC)" LD="$(tc-getCC)" \
58 LDFLAGS="${LDFLAGS}" || die "emake failed"
59 }
60
61 src_install() {
62 - make DESTDIR="${D}" global_install || die
63 + emake -j1 PREFIX="${EPREFIX}" DESTDIR="${D}" global_install || die
64
65 - use kde || rm -f "${D}"/usr/bin/kantiword
66 + use kde || rm -f "${ED}"/usr/bin/kantiword
67
68 insinto /usr/share/${PN}/examples
69 - doins Docs/testdoc.doc Docs/antiword.php
70 + doins Docs/testdoc.doc Docs/antiword.php || die
71
72 cd Docs
73 - doman antiword.1
74 - dodoc ChangeLog Exmh Emacs FAQ History Netscape \
75 - QandA ReadMe Mozilla Mutt
76 + doman antiword.1 || die
77 + dodoc ChangeLog Exmh Emacs FAQ History Netscape QandA ReadMe Mozilla Mutt || die
78 }
79
80
81
82 1.41 app-text/antiword/ChangeLog
83
84 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/antiword/ChangeLog?rev=1.41&view=markup
85 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/antiword/ChangeLog?rev=1.41&content-type=text/plain
86 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/antiword/ChangeLog?r1=1.40&r2=1.41
87
88 Index: ChangeLog
89 ===================================================================
90 RCS file: /var/cvsroot/gentoo-x86/app-text/antiword/ChangeLog,v
91 retrieving revision 1.40
92 retrieving revision 1.41
93 diff -u -r1.40 -r1.41
94 --- ChangeLog 6 Sep 2009 18:43:16 -0000 1.40
95 +++ ChangeLog 5 Apr 2010 21:38:59 -0000 1.41
96 @@ -1,6 +1,10 @@
97 # ChangeLog for app-text/antiword
98 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
99 -# $Header: /var/cvsroot/gentoo-x86/app-text/antiword/ChangeLog,v 1.40 2009/09/06 18:43:16 idl0r Exp $
100 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
101 +# $Header: /var/cvsroot/gentoo-x86/app-text/antiword/ChangeLog,v 1.41 2010/04/05 21:38:59 abcd Exp $
102 +
103 + 05 Apr 2010; Jonathan Callen <abcd@g.o> antiword-0.37.ebuild,
104 + +files/antiword-0.37-prefix.patch:
105 + Bump to EAPI=3, add prefix keywords & patch
106
107 06 Sep 2009; Christian Ruppert <idl0r@g.o>
108 -files/antiword-0.36.1-ppc-macos.diff, antiword-0.37.ebuild,