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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.20