Contents of /smage/trunk/core/xml-parser/xml-parser-2.41-r1.smage2
Parent Directory | Revision Log
Revision 2908 -
(show annotations)
(download)
Tue Sep 6 16:00:13 2011 UTC (13 years ago) by niro
File size: 448 byte(s)
Tue Sep 6 16:00:13 2011 UTC (13 years ago) by niro
File size: 448 byte(s)
-fixed CPAN_AUTHOR and do not search for deprecated packages
1 | # $Id$ |
2 | |
3 | PNAME="xml-parser" |
4 | PVER="2.41" |
5 | PBUILD="r1" |
6 | |
7 | DESCRIPTION="A perl module for parsing XML documents." |
8 | |
9 | DEPEND=">= dev-lang/perl-5.14 |
10 | >= dev-libs/expat-2" |
11 | |
12 | CPAN_MODULE="XML-Parser" |
13 | CPAN_AUTHOR="TODDR" |
14 | sminclude cpan alx |
15 | |
16 | UP2DATE="updatecmd_perl ${CPAN_MODULE} gz" |
17 | |
18 | src_prepare() |
19 | { |
20 | munpack ${SRCFILE} || die |
21 | cd ${SRCDIR} |
22 | |
23 | # fix libdir on 64bit arches |
24 | sed -i "s:^\$expat_libpath.*:\$expat_libpath = '/usr/$(mlibdir)';:" Makefile.PL || die |
25 | } |