/[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.4 - (hide annotations) (download)
Sat Jan 31 01:41:00 2015 UTC (5 years ago) by patrick
Branch: MAIN
Changes since 1.3: +3 -5 lines
Remove redundant want_autoconf=latest

(Portage version: 2.2.15/cvs/Linux x86_64, unsigned Manifest commit)

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

  ViewVC Help
Powered by ViewVC 1.1.20