summaryrefslogtreecommitdiffstats
path: root/p5-extutils-pkgconfig/Pkgfile
blob: 1902c9e7f8a77e34cb8eeeeaa3e9b21f76527006 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Description: Connecteur perl pour pkgconfig
# URL: http://www.gtkperl.org
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: p5-xml-parser
# Run on: p5-xml-parser

name=p5-extutils-pkgconfig
version=1.12
release=2
source=(http://www.cpan.org/modules/by-module/ExtUtils/ExtUtils-PkgConfig-$version.tar.gz)

build() {
	cd ExtUtils-PkgConfig-$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 ||:
}