# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-text/sablotron/sablotron-0.96.ebuild,v 1.6 2003/01/21 19:59:57 rajiv Exp $ MY_P="Sablot-${PV}" S=${WORKDIR}/${MY_P} DESCRIPTION="An XSLT Parser in C++" SRC_URI="http://www.gingerall.com/perl/rd?url=sablot/${MY_P}.tar.gz" HOMEPAGE="http://www.gingerall.com/charlie-bin/get/webGA/act/sablotron.act" SLOT="0" LICENSE="MPL-1.1" KEYWORDS="x86 sparc ~ppc" DEPEND=">=dev-libs/expat-1.95.1" src_unpack() { unpack ${A} cd ${S}/src/engine patch -p0 < ${FILESDIR}/Sablot-0.96.1.patch || die } src_compile() { local myconf use perl && myconf="--enable-perlconnect" # rphillips # fixes bug #3876 export LDFLAGS="-lstdc++" econf ${myconf} make || die } src_install() { einstall dodoc README* RELEASE dodoc src/TODO }