Annotation of /branches/magellan-next/core/xml-parser/xml-parser-2.36-r4.smage2
Parent Directory | Revision Log
Revision 6180 -
(hide annotations)
(download)
Thu Aug 19 18:55:35 2010 UTC (13 years, 9 months ago) by niro
File size: 751 byte(s)
Thu Aug 19 18:55:35 2010 UTC (13 years, 9 months ago) by niro
File size: 751 byte(s)
auto added: ver bump to 2.36-r4
1 | niro | 6180 | # $Id: xml-parser-2.36-r3.smage2 3283 2009-10-19 11:48:19Z niro $ |
2 | |||
3 | PNAME="xml-parser" | ||
4 | PVER="2.36" | ||
5 | PBUILD="r4" | ||
6 | |||
7 | PCATEGORIE="dev-perl" | ||
8 | STATE="unstable" | ||
9 | |||
10 | DESCRIPTION="A perl module for parsing XML documents." | ||
11 | HOMEPAGE="http://search.cpan.org/dist/XML-Parser/" | ||
12 | |||
13 | DEPEND=">= dev-lang/perl-5.12 | ||
14 | >= dev-libs/expat-2" | ||
15 | |||
16 | SRCFILE="${PNAME/xml-p/XML-P}-${PVER}.tar.gz" | ||
17 | SRCDIR="${BUILDDIR}/${PNAME/xml-p/XML-P}-${PVER}" | ||
18 | |||
19 | sminclude perl | ||
20 | |||
21 | SRC_URI=( | ||
22 | http://search.cpan.org/CPAN/authors/id/M/MS/MSERGEANT/${SRCFILE} | ||
23 | mirror://${PNAME}/${SRCFILE} | ||
24 | ) | ||
25 | |||
26 | UP2DATE="updatecmd_perl XML-Parser gz" | ||
27 | |||
28 | src_prepare() | ||
29 | { | ||
30 | munpack ${SRCFILE} || die | ||
31 | cd ${SRCDIR} | ||
32 | |||
33 | # fix libdir on 64bit arches | ||
34 | sed -i "s:^\$expat_libpath.*:\$expat_libpath = '/usr/$(mlibdir)';:" Makefile.PL || die | ||
35 | } |