# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-perl/HTML-Parser/HTML-Parser-3.36-r1.ebuild,v 1.3 2005/01/04 13:03:11 mcummings Exp $ inherit perl-module DESCRIPTION="Parse section of HTML documents" SRC_URI="http://cpan.org/modules/by-module/HTML/${P}.tar.gz" HOMEPAGE="http://cpan.org/modules/by-module/HTML/${P}.readme" SLOT="0" LICENSE="Artistic" KEYWORDS="~x86 ~amd64 ~ppc ~sparc ~alpha ~hppa ~ia64 ~ppc64" IUSE="unicode" DEPEND=">=dev-perl/HTML-Tagset-3.03" mydoc="ANNOUNCEMENT TODO" src_compile() { use unicode && answer='y' || answer='n' if [ "${MMSIXELEVEN}" ]; then echo "${answer}" | perl Makefile.PL ${myconf} \ PREFIX=/usr INSTALLDIRS=vendor DESTDIR=${D} else echo "${answer}" | perl Makefile.PL ${myconf} \ PREFIX=${D}/usr INSTALLDIRS=vendor fi perl-module_src_test }