2008-05-03 09:43:23 -04:30
|
|
|
# Description: Perl interface to GD graphics library
|
2014-04-07 16:22:12 +09:00
|
|
|
# URL: http://search.cpan.org/~lds/GD-2.53/
|
2008-05-03 09:43:23 -04:30
|
|
|
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
|
2014-04-07 16:22:12 +09:00
|
|
|
# Depends on: perl libgd
|
2008-05-03 09:43:23 -04:30
|
|
|
|
|
|
|
name=p5-gd
|
2014-04-07 16:22:12 +09:00
|
|
|
version=2.53
|
2008-05-03 09:43:23 -04:30
|
|
|
release=1
|
|
|
|
source=(http://search.cpan.org/CPAN/authors/id/L/LD/LDS/GD-$version.tar.gz )
|
|
|
|
|
|
|
|
build () {
|
|
|
|
mkdir -p $PKG/usr/bin
|
|
|
|
cd GD-$version
|
|
|
|
perl Makefile.PL
|
|
|
|
make OPTIMIZE="${CFLAGS}"
|
|
|
|
make DESTDIR=${PKG} install
|
|
|
|
find $PKG \( \( -depth -empty \) -o \( -name .packlist -o -name '*.bs' -o -name autosplit.ix -o -name perllocal.pod \) \) -exec rm -rf {} \;
|
|
|
|
}
|