diff options
Diffstat (limited to 'app-text/html-xml-utils/html-xml-utils-2.3-r1.ebuild')
-rw-r--r-- | app-text/html-xml-utils/html-xml-utils-2.3-r1.ebuild | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/app-text/html-xml-utils/html-xml-utils-2.3-r1.ebuild b/app-text/html-xml-utils/html-xml-utils-2.3-r1.ebuild new file mode 100644 index 000000000000..073214b34ed2 --- /dev/null +++ b/app-text/html-xml-utils/html-xml-utils-2.3-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/app-text/html-xml-utils/html-xml-utils-2.3-r1.ebuild,v 1.1 2002/09/21 19:31:38 karltk Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="A number of simple utilities for manipulating HTML and XML files." +SRC_URI="http://www.w3.org/Tools/HTML-XML-utils/${P}.tar.gz" +HOMEPAGE="http://www.w3.org/Tools/HTML-XML-utils/" +KEYWORDS="x86 sparc sparc64" +SLOT="0" +LICENSE="W3C" + +DEPEND="virtual/glibc" + +src_unpack() { + unpack ${A} + cd ${S} + cp heap.c heap.c.orig + sed -e "s/#define FILE.*/#define FILE __FILE__/" \ + -e "s/#define LINE.*/#define LINE __LINE__/" \ + < heap.c.orig > heap.c || die +} + +src_install () { + + make DESTDIR=${D} install || die + dodoc AUTHORS ChangeLog COPYING NEWS README TODO +} |