Magellan Linux

Contents of /smage/trunk/core/xml-parser/xml-parser-2.36-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 583 - (show annotations) (download)
Sun Feb 8 18:07:42 2009 UTC (15 years, 4 months ago) by niro
File size: 758 byte(s)
-moved to 'core'
1 # $Header: /alx-cvs/smage-eglibc/xml-parser/xml-parser-2.36-r1.smage2,v 1.1 2008/06/07 18:38:28 niro Exp $
2
3 PNAME="xml-parser"
4 PVER="2.36"
5 PBUILD="r1"
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.10.0
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 alx
20
21 SRC_URI=(
22 http://search.cpan.org/CPAN/authors/id/M/MS/MSERGEANT/${SRCFILE}
23 mirror://${PNAME}/${SRCFILE}
24 )
25
26 src_prepare()
27 {
28 munpack ${SRCFILE} || die
29 cd ${SRCDIR}
30
31 # fix libdir on 64bit arches
32 sed -i "s:^\$expat_libpath.*:\$expat_libpath = '/usr/$(mlibdir)';:" Makefile.PL || die
33 }

Properties

Name Value
svn:keywords Id