void-packages/srcpkgs/perl-Pango/template

22 lines
710 B
Bash

# Template build file for 'perl-Pango'.
pkgname=perl-Pango
version=1.227
revision=3
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="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://gtk2-perl.sourceforge.net/"
license="LGPL-2.1"
distfiles="${SOURCEFORGE_SITE}/gtk2-perl/Pango-$version.tar.gz"
checksum=34b0a422df3fecd7597587048552457d48ae764c43bbefd2a9d62ceb6c8bac71
CFLAGS="-Wno-error -Wno-deprecated-declarations"
pre_configure() {
sed -i Makefile.PL -e "/.*$libs \.= $pangocairo_pkgcfg{libs};/i $libs .= ' ';"
}