Contents of /smage/trunk/core/xml-parser/xml-parser-2.40-r2.smage2
Parent Directory | Revision Log
Revision 1582 -
(show annotations)
(download)
Thu Mar 3 14:36:07 2011 UTC (13 years, 6 months ago) by niro
File size: 520 byte(s)
Thu Mar 3 14:36:07 2011 UTC (13 years, 6 months ago) by niro
File size: 520 byte(s)
-rev bump for mass rebuild
1 | # $Id: xml-parser-2.36-r3.smage2 321 2010-04-28 13:39:55Z niro $ |
2 | |
3 | PNAME="xml-parser" |
4 | PVER="2.40" |
5 | PBUILD="r2" |
6 | |
7 | STATE="unstable" |
8 | DESCRIPTION="A perl module for parsing XML documents." |
9 | |
10 | DEPEND=">= dev-lang/perl-5.12 |
11 | >= dev-libs/expat-2" |
12 | |
13 | CPAN_MODULE="XML-Parser" |
14 | CPAN_AUTHOR="CHORNY" |
15 | sminclude cpan |
16 | |
17 | UP2DATE="updatecmd_perl ${CPAN_MODULE} gz" |
18 | |
19 | src_prepare() |
20 | { |
21 | munpack ${SRCFILE} || die |
22 | cd ${SRCDIR} |
23 | |
24 | # fix libdir on 64bit arches |
25 | sed -i "s:^\$expat_libpath.*:\$expat_libpath = '/usr/$(mlibdir)';:" Makefile.PL || die |
26 | } |