| 1 |
# Copyright 1999-2012 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/app-text/xml2/xml2-0.4.ebuild,v 1.2 2010/01/02 11:45:51 fauli Exp $ |
| 4 |
|
| 5 |
inherit autotools eutils |
| 6 |
|
| 7 |
DESCRIPTION="These tools are used to convert XML and HTML to and from a line-oriented format." |
| 8 |
HOMEPAGE="http://dan.egnor.name/xml2" |
| 9 |
SRC_URI="http://download.ofb.net/gale/${P}.tar.gz" |
| 10 |
|
| 11 |
LICENSE="GPL-2" |
| 12 |
SLOT="0" |
| 13 |
KEYWORDS="~amd64 ~x86 ~x86-linux ~ppc-macos" |
| 14 |
IUSE="" |
| 15 |
|
| 16 |
RDEPEND="dev-libs/libxml2" |
| 17 |
DEPEND="${RDEPEND} |
| 18 |
virtual/pkgconfig" |
| 19 |
|
| 20 |
src_unpack() { |
| 21 |
unpack ${A} |
| 22 |
cd "${S}" |
| 23 |
epatch "${FILESDIR}"/${P}-libxml2.patch |
| 24 |
eautoreconf |
| 25 |
} |
| 26 |
|
| 27 |
src_compile() { |
| 28 |
econf --disable-dependency-tracking |
| 29 |
emake || die "emake failed." |
| 30 |
} |
| 31 |
|
| 32 |
src_install() { |
| 33 |
emake DESTDIR="${D}" install || die "emake install failed." |
| 34 |
} |