blob: c2ca22199556fd80753f6793004a6a68328da5d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
MODULE_AUTHOR=MSERGEANT
inherit perl-module multilib
DESCRIPTION="A Perl extension interface to James Clark's XML parser, expat"
LICENSE="Artistic"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
IUSE=""
DEPEND=">=dev-libs/expat-1.95.1-r1
dev-lang/perl"
SRC_TEST=do
src_unpack() {
unpack ${A}
cd "${S}"
sed -i \
-e "s:^\$expat_libpath.*:\$expat_libpath = '/usr/$(get_libdir)';:" \
Makefile.PL || die "sed failed"
}
|