Contents of /smage/branches/alx-0_6_0/core/xml-parser/xml-parser-2.40-r1.smage2
Parent Directory | Revision Log
Revision 2506 -
(show annotations)
(download)
Thu Jun 30 13:55:15 2011 UTC (13 years, 3 months ago) by niro
File size: 482 byte(s)
Thu Jun 30 13:55:15 2011 UTC (13 years, 3 months ago) by niro
File size: 482 byte(s)
-removed STATE variable from smage files, use global distribution file for package/distribution states
1 | # $Id$ |
2 | |
3 | PNAME="xml-parser" |
4 | PVER="2.40" |
5 | PBUILD="r1" |
6 | |
7 | DESCRIPTION="A perl module for parsing XML documents." |
8 | |
9 | DEPEND=">= dev-lang/perl-5.12 |
10 | >= dev-libs/expat-2" |
11 | |
12 | REMOVE_DEPRECATED_MAGE_TARGETS=1 |
13 | CPAN_MODULE="XML-Parser" |
14 | CPAN_AUTHOR="CHORNY" |
15 | sminclude cpan alx |
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 | } |