void-packages/srcpkgs/perl-Pango/template
2015-10-08 00:53:06 +02:00

21 lines
729 B
Bash

# Template build file for 'perl-Pango'.
pkgname=perl-Pango
version=1.226
revision=4
wrksrc="Pango-$version"
build_style=perl-module
hostmakedepends="perl"
makedepends="perl-ExtUtils-Depends perl-ExtUtils-PkgConfig perl-Glib perl-Cairo pango-devel"
depends=" perl-Cairo>=1.000"
short_desc="Perl bindings for Pango"
maintainer="Carlo Dormeletti <carloDOTdormeletti@aliceDOTit>"
homepage="http://gtk2-perl.sourceforge.net/"
license="LGPL-2.1"
distfiles="${SOURCEFORGE_SITE}/gtk2-perl/Pango-$version.tar.gz"
checksum=9f7039bf79bca027009fdc2b0472ecf2d2e0e30227fb92c5ecd1c867dae99264
CFLAGS="-Wno-error -Wno-deprecated-declarations"
pre_configure() {
sed -i Makefile.PL -e "/.*$libs \.= $pangocairo_pkgcfg{libs};/i $libs .= ' ';"
}