/[gentoo-x86]/app-text/xlhtml/xlhtml-0.5.1_p6.ebuild
Gentoo

Contents of /app-text/xlhtml/xlhtml-0.5.1_p6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Mon May 21 18:43:50 2012 UTC (7 years, 10 months ago) by xarthisius
Branch: MAIN
Changes since 1.2: +3 -3 lines
Add missing inheritance of eutils.eclass

(Portage version: 2.2.0_alpha104/cvs/Linux x86_64)

1 xarthisius 1.3 # Copyright 1999-2012 Gentoo Foundation
2 patrick 1.1 # Distributed under the terms of the GNU General Public License v2
3 xarthisius 1.3 # $Header: /var/cvsroot/gentoo-x86/app-text/xlhtml/xlhtml-0.5.1_p6.ebuild,v 1.2 2010/02/20 18:32:13 abcd Exp $
4 abcd 1.2
5     EAPI=3
6 patrick 1.1
7     WANT_AUTOCONF="latest"
8     WANT_AUTOMAKE="latest"
9    
10 xarthisius 1.3 inherit autotools eutils
11 patrick 1.1
12     MY_PV=${PV/_p*/}
13     DEB_PR=${PV/*_p/}
14    
15     DESCRIPTION="Convert MS Excel and Powerpoint files to HTML"
16     HOMEPAGE="http://chicago.sourceforge.net/xlhtml/ http://packages.debian.org/etch/xlhtml/"
17     SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${MY_PV}.orig.tar.gz
18     mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${MY_PV}-${DEB_PR}.diff.gz"
19    
20     LICENSE="GPL-2"
21     SLOT="0"
22 abcd 1.2 KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
23 patrick 1.1 IUSE=""
24     DEPEND=""
25     S=${WORKDIR}/${PN}
26    
27 abcd 1.2 src_prepare() {
28 patrick 1.1 epatch "${WORKDIR}"/${PN}_${MY_PV}-${DEB_PR}.diff
29     # This is needed specifically for depcomp, which is necessary for
30     # building xlhtml, but isn't included.
31     eautoreconf
32     }
33    
34     src_install() {
35     make DESTDIR="${D}" install || die "make install failed for ${P}"
36     dodoc AUTHORS INSTALL README
37     docinto cole
38     dodoc cole/{AUTHORS,COPYING,NEWS,ChangeLog,THANKS,TODO}
39     docinto ppthtml
40     dodoc ppthtml/{ChangeLog,README,THANKS}
41     docinto xlhtml
42     dodoc xlhtml/{ChangeLog,README,THANKS,TODO}
43     rm -rf xlhtml/contrib/CVS
44 abcd 1.2 cp -pPR xlhtml/contrib "${ED}"/usr/share/doc/${PF}/xlhtml
45 patrick 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20