blob: fdbd20abbcaa13e115d90106420c0ec940ac1242 (
plain)
1 # Description: Perl bindings for pkgconfig
2 # URL: http://www.cpan.org/
3 # Maintainer: Jose V Beneyto, sepen at users dot sourceforge dot net
4 # Packager: Han Boetes, han at mijncomputer dot nl
5 # Depends on: p5-xml-parser
6
7 name=p5-extutils-pkgconfig
8 version=1.11
9 release=1
10 source=(http://www.cpan.org/modules/by-module/ExtUtils/ExtUtils-PkgConfig-$version.tar.gz)
11
12 build() {
13 cd ExtUtils-PkgConfig-$version
14 perl Makefile.PL
15 make OPTIMIZE="$CFLAGS"
16 make install DESTDIR=$PKG
17 find $PKG \
18 -name perllocal.pod \
19 -o -name "*.bs" \
20 -o -name .packlist | xargs rm
21 find $PKG -empty | xargs rmdir -p ||:
22 }
|