blob: 8b86df76a90bd7988b7dd04f959faf8fe3da0071 (
plain)
1 # Description: Perl bindings for GTK2
2 # URL: http://www.cpan.org/
3 # Maintainer: Jose V Beneyto, sepen at crux dot nu
4 # Packager: Han Boetes, han at mijncomputer dot nl
5 # Depends on: gtk p5-pango xorg-libxdamage
6
7 name=p5-gtk2
8 version=1.248
9 release=1
10 source=(http://www.cpan.org/modules/by-module/Gtk2/Gtk2-$version.tar.gz)
11
12 build() {
13 cd Gtk2-$version
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 \
25 -name perllocal.pod \
26 -o -name "*.bs" \
27 -o -name .packlist | xargs rm
28 find $PKG -empty | xargs rmdir -p ||:
29 }
|