blob: 361e0a2d32c836fead2a89cf1a70689fa77956e1 (
plain)
1 # Description: Perl interface to GD graphics library
2 # URL: http://search.cpan.org/dist/GD/
3 # Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
4 # Depends on: libgd p5-extutils-pkgconfig
5
6 name=p5-gd
7 version=2.66
8 release=1
9 source=(http://search.cpan.org/CPAN/authors/id/R/RU/RURBAN/GD-$version.tar.gz)
10
11 build() {
12 install -d $PKG/usr/bin
13 cd GD-$version
14 export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL="--skipdeps"
15 perl Makefile.PL
16 make OPTIMIZE="${CFLAGS}"
17 make DESTDIR=${PKG} install
18 find $PKG \( \( -depth -empty \) -o \( -name .packlist -o -name '*.bs' -o -name autosplit.ix -o -name perllocal.pod \) \) -exec rm -rf {} \;
19 }
|