summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-02-15 18:05:50 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-02-15 18:05:50 +0000
commit43cef5ce092718077f82d2c174fbcd3850a68964 (patch)
treefa5c37b0070e0cc2513fcff5885df63520d06764 /app-text/xlhtml
parentBump to 2.6.12. Fixes #232587. Two patches dropped as they were accepted upst... (diff)
downloadgentoo-2-43cef5ce092718077f82d2c174fbcd3850a68964.tar.gz
gentoo-2-43cef5ce092718077f82d2c174fbcd3850a68964.tar.bz2
gentoo-2-43cef5ce092718077f82d2c174fbcd3850a68964.zip
Bump to 0.5.1_p6 with debian patches. Ebuild adapted by valli <gentoo@valli.org>, closes #232559
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'app-text/xlhtml')
-rw-r--r--app-text/xlhtml/ChangeLog10
-rw-r--r--app-text/xlhtml/xlhtml-0.5.1_p6.ebuild45
2 files changed, 53 insertions, 2 deletions
diff --git a/app-text/xlhtml/ChangeLog b/app-text/xlhtml/ChangeLog
index e92b650ec743..006d407584cc 100644
--- a/app-text/xlhtml/ChangeLog
+++ b/app-text/xlhtml/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-text/xlhtml
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/xlhtml/ChangeLog,v 1.16 2008/01/20 16:14:56 grobian Exp $
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/xlhtml/ChangeLog,v 1.17 2009/02/15 18:05:50 patrick Exp $
+
+*xlhtml-0.5.1_p6 (15 Feb 2009)
+
+ 15 Feb 2009; Patrick Lauer <patrick@gentoo.org> +xlhtml-0.5.1_p6.ebuild:
+ Bump to 0.5.1_p6 with debian patches. Ebuild adapted by valli
+ <gentoo@valli.org>, closes #232559
20 Jan 2008; Fabian Groffen <grobian@gentoo.org> xlhtml-0.5.ebuild:
Dropped ppc-macos keyword, see you in prefix
diff --git a/app-text/xlhtml/xlhtml-0.5.1_p6.ebuild b/app-text/xlhtml/xlhtml-0.5.1_p6.ebuild
new file mode 100644
index 000000000000..c1c017c4303e
--- /dev/null
+++ b/app-text/xlhtml/xlhtml-0.5.1_p6.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/xlhtml/xlhtml-0.5.1_p6.ebuild,v 1.1 2009/02/15 18:05:50 patrick Exp $
+
+WANT_AUTOCONF="latest"
+WANT_AUTOMAKE="latest"
+
+inherit autotools
+
+MY_PV=${PV/_p*/}
+DEB_PR=${PV/*_p/}
+
+DESCRIPTION="Convert MS Excel and Powerpoint files to HTML"
+HOMEPAGE="http://chicago.sourceforge.net/xlhtml/ http://packages.debian.org/etch/xlhtml/"
+SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${MY_PV}.orig.tar.gz
+ mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${MY_PV}-${DEB_PR}.diff.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+DEPEND=""
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${WORKDIR}"/${PN}_${MY_PV}-${DEB_PR}.diff
+ # This is needed specifically for depcomp, which is necessary for
+ # building xlhtml, but isn't included.
+ eautoreconf
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed for ${P}"
+ dodoc AUTHORS INSTALL README
+ docinto cole
+ dodoc cole/{AUTHORS,COPYING,NEWS,ChangeLog,THANKS,TODO}
+ docinto ppthtml
+ dodoc ppthtml/{ChangeLog,README,THANKS}
+ docinto xlhtml
+ dodoc xlhtml/{ChangeLog,README,THANKS,TODO}
+ rm -rf xlhtml/contrib/CVS
+ cp -pPR xlhtml/contrib "${D}"/usr/share/doc/${PF}/xlhtml
+}