forked from ports/contrib
19 lines
564 B
Plaintext
19 lines
564 B
Plaintext
# Description: Perl interface to GD graphics library
|
|
# URL: http://search.cpan.org/~lds/GD-2.53/
|
|
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
|
|
# Depends on: perl libgd
|
|
|
|
name=p5-gd
|
|
version=2.53
|
|
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 {} \;
|
|
}
|