CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
libcap: initial import (verified compilation)
[attic/ports/opt-cross.git] / p5-xml-parser / Pkgfile
1 # Description: XML::Parser
2 # URL: http://search.cpan.org/~msergeant/XML-Parser-2.34/
3 # Packager: Matt Housh, jaeger at morpheus dot net
4 # Maintainer: Lucas Hazel, lucas at die dot net dot au
5 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
6 # Depends on: expat perl
7
8 name=p5-xml-parser
9 version=2.36
10 release=3
11 source=(http://cpan.develooper.com/modules/by-category/11_String_Lang_Text_Proc/XML/XML-Parser-$version.tar.gz)
12
13 build() {
14 cd XML-Parser-$version
15 perl Makefile.PL EXPATLIBPATH="$CLFS/usr/lib" EXPATINCPATH="$CLFS/usr/include"
16 make AR="$AR" LD="$CC" CC="$CC" OPTIMIZE="$CFLAGS" LIBC="$CLFS/lib/libc-2.10.1.so" FULL_AR="$AR" \
17 SITELIBEXP="$CLFS/usr/lib/perl5" SITEARCHEXP="$CLFS/usr/lib/perl5/"
18 make DESTDIR=$PKG install
19 find $PKG -name .packlist -o \
20 -name perllocal.pod -o \
21 -name README -o \
22 -name '*.bs' | xargs rm
23 }