blob: 557c9dc7db7ae62e3f8a6f476c9d8e8cceeb34c2 (
plain)
1 # Description: Perl bindings for cairo
2 # URL: https://metacpan.org/pod/Cairo
3 # Maintainer: John Vogel, jvogel4 at stny dot rr dot com
4 # Depends on: cairo p5-glib
5
6 name=p5-cairo
7 version=1.107
8 release=1
9 source=(http://search.cpan.org/CPAN/authors/id/X/XA/XAOC/Cairo-$version.tar.gz)
10
11 build() {
12 cd Cairo-$version
13 perl Makefile.PL
14
15 make OPTIMIZE="$CFLAGS"
16 make install DESTDIR=$PKG
17
18 find $PKG -name perllocal.pod -o -name "*.bs" -o -name .packlist | xargs rm
19 find $PKG -empty | xargs rmdir -p ||:
20
21 find $PKG -type f -a -perm -u-w | xargs chmod u+w
22 }
|