blob: 4647a37874ccdae1eaccd6457f312dd64d87ce24 (
plain)
1 # Description: Perl bindings for GTK2
2 # URL: http://search.cpan.org/dist/Gtk2/
3 # Maintainer: John Vogel, jvogel4 at stny dot rr dot com
4 # Depends on: gtk p5-pango xorg-libxdamage
5
6 name=p5-gtk2
7 version=1.24993
8 release=1
9 source=(http://www.cpan.org/modules/by-module/Gtk2/Gtk2-$version.tar.gz)
10
11 build() {
12 cd Gtk2-$version
13
14 perl Makefile.PL \
15 --without-gdkimlib \
16 --without-gnome \
17 --without-applets \
18 --without-gnomeprint \
19 --without-glade
20
21 make OPTIMIZE="$CFLAGS"
22 make install DESTDIR=$PKG
23
24 find $PKG -name perllocal.pod -o -name "*.bs" -o -name .packlist | xargs rm
25 find $PKG -empty | xargs rmdir -p ||:
26 find $PKG -type f -a -perm -u-w | xargs chmod u+w
27 }
|