contrib/p5-gd/Pkgfile
2008-05-03 09:44:59 -04:30

20 lines
589 B
Plaintext

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