# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Maintainer: Achim Gottinger # $Header: /var/cvsroot/gentoo-x86/dev-libs/libxslt/libxslt-1.0.10.ebuild,v 1.1 2002/01/16 19:18:23 azarah Exp $ S=${WORKDIR}/${P} DESCRIPTION="XSLT libraries and tools" SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/${PN}/${P}.tar.gz" HOMEPAGE="http://www.gnome.org/" RDEPEND="virtual/glibc >=dev-libs/libxml2-2.4.13" DEPEND="${RDEPEND} sys-devel/perl" src_compile() { ./configure --host=${CHOST} \ --prefix=/usr \ --mandir=/usr/share/man || die emake || die } src_install() { make DESTDIR=${D} install || die dodoc AUTHORS COPYING* ChangeLog README NEWS TODO mv ${D}/usr/doc/${P}/html ${D}/usr/share/doc/${PF}/ rm -rf ${D}/usr/doc }