23 lines
578 B
Plaintext
23 lines
578 B
Plaintext
# Description: Perl bindings for cairo
|
|
# URL: http://www.gtkperl.org
|
|
# Maintainer: Jose V Beneyto, sepen at users dot sourceforge dot net
|
|
# Packager: Han Boetes, han at mijncomputer dot nl
|
|
# Depends on: p5-glib
|
|
|
|
name=p5-cairo
|
|
version=1.021
|
|
release=1
|
|
source=(http://search.cpan.org/CPAN/authors/id/T/TS/TSCH/Cairo-${version}.tar.gz)
|
|
|
|
build() {
|
|
cd Cairo-${version}
|
|
perl Makefile.PL
|
|
make OPTIMIZE="$CFLAGS"
|
|
make install DESTDIR=${PKG}
|
|
find $PKG \
|
|
-name perllocal.pod \
|
|
-o -name "*.bs" \
|
|
-o -name .packlist | xargs rm
|
|
find $PKG -empty | xargs rmdir -p ||:
|
|
}
|