blob: a91b0c6f3d837832cd546c3e0fb48312ec4253aa (
plain)
1 # Description: Perl bindings for depends
2 # URL: https://www.cpan.org/
3 # Maintainer: John Vogel, jvogel4 at stny dot rr dot com
4 # Depends on: p5-xml-parser
5
6 name=p5-extutils-depends
7 version=0.405
8 release=2
9 source=(https://www.cpan.org/modules/by-module/ExtUtils/ExtUtils-Depends-$version.tar.gz)
10
11 build() {
12 cd ExtUtils-Depends-$version
13 perl Makefile.PL
14
15 make OPTIMIZE="$CFLAGS"
16 make install DESTDIR=$PKG
17
18 find $PKG -type f -a ! -perm -u+w | xargs chmod u+w
19 find $PKG \
20 -name perllocal.pod \
21 -o -name "*.bs" \
22 -o -name .packlist | xargs rm
23 find $PKG -empty | xargs rmdir -p ||:
24 }
|