23 lines
820 B
Bash
23 lines
820 B
Bash
# Copyright 1999-2011 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/dev-perl/XML-Parser/XML-Parser-2.36-r1.ebuild,v 1.9 2011/07/30 10:46:52 tove Exp $
|
|
|
|
MODULE_AUTHOR=MSERGEANT
|
|
inherit perl-module multilib
|
|
|
|
DESCRIPTION="A Perl extension interface to James Clark's XML parser, expat"
|
|
|
|
SLOT="0"
|
|
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
IUSE=""
|
|
|
|
DEPEND=">=dev-libs/expat-1.95.1-r1
|
|
dev-lang/perl"
|
|
|
|
src_unpack() {
|
|
unpack ${A}
|
|
cd "${S}"
|
|
sed -i \
|
|
-e "s:^\$expat_libpath.*:\$expat_libpath = '${EPREFIX}/usr/$(get_libdir)';:" \
|
|
Makefile.PL || die "sed failed"
|
|
}
|