# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="xmlclitools provides four command-line tools for searching, modifying, and formating XML data." HOMEPAGE="http://freshmeat.net/projects/xmlclitools/" SRC_URI="http://freshmeat.net/redir/xmlclitools/30398/url_tgz/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="dev-libs/glib dev-libs/libxml2" #RDEPEND="" S=${WORKDIR}/${P} src_compile() { econf || die "econf failed" emake || die "emake failed" } src_install() { # Could be used if Makefile is teached to use $DESTDIR # make DESTDIR=${D} install || die dobin xmlngrep xmlgrep xmlfmt xmlmod doman xmlgrep.1 xmlfmt.1 xmlmod.1 }