summaryrefslogtreecommitdiffstats
path: root/p5-xml-simple/Pkgfile
blob: 46b570fbb68e2af247b8acac5163b825790144df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Description: Easy API to maintain XML
# URL: http://search.cpan.org/~grantm/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch

name=p5-xml-simple
version=2.18
release=2
source=(http://search.cpan.org/CPAN/authors/id/G/GR/GRANTM/XML-Simple-$version.tar.gz)

build() {
	cd XML-Simple-$version
	perl Makefile.PL
        mkdir -p $PKG/usr/lib/perl5/5.10.1/i686-linux-thread-multi/
	make
	make DESTDIR=$PKG install
	rm $PKG/usr/share/perl5/base/perllocal.pod
        rm -rf $PKG/usr/lib/perl5/5.10.1/i686-linux-thread-multi/perllocal.pod
}