20 lines
583 B
Plaintext
20 lines
583 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: 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
|
||
|
}
|