blob: 9421e70d6700b4cd02dfe32615a0d5932a38b923 (
plain)
1 # Description: Perl bindings for glib
2 # URL: http://search.cpan.org/dist/Glib/
3 # Maintainer: John Vogel, jvogel4 at stny dot rr dot com
4 # Depends on: glib p5-extutils-depends p5-extutils-pkgconfig
5
6 name=p5-glib
7 version=1.327
8 release=1
9 source=(http://www.cpan.org/modules/by-module/Glib/Glib-$version.tar.gz)
10
11 build() {
12 cd Glib-$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 }
|