contrib/p5-gd/Pkgfile
2012-02-27 11:07:55 +09:00

19 lines
564 B
Plaintext

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