summaryrefslogtreecommitdiffstats
path: root/base/p5-yaml/Pkgfile
blob: 33f388fd88f046810e10295b991d89768d38a230 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Description: Implémentation Perl de YAML 
# URL: http://search.cpan.org/dist/YAML/
# Maintainer: NuTyX core team
# Packager: fred.galusik at gmail dot com
# Depends on: 

name=p5-yaml
version=0.71
release=1
source=(http://www.cpan.org/authors/id/A/AD/ADAMK//YAML-$version.tar.gz)

build() {
cd YAML-$version
	perl Makefile.PL
	make
	make DESTDIR=$PKG install
	find $PKG \
		-name perllocal.pod \
		-o -name .packlist | xargs rm
	find $PKG -empty | xargs rmdir -p ||:
}