28 lines
897 B
Bash
28 lines
897 B
Bash
# Template file for 'perl-Pango'
|
|
pkgname=perl-Pango
|
|
version=1.227
|
|
revision=8
|
|
wrksrc="Pango-$version"
|
|
build_style=perl-module
|
|
hostmakedepends="perl perl-ExtUtils-Depends perl-ExtUtils-PkgConfig perl-Cairo"
|
|
makedepends="perl-Cairo pango-devel"
|
|
depends="perl-Cairo>=1.000"
|
|
short_desc="Perl bindings for Pango"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="http://gtk2-perl.sourceforge.net/"
|
|
distfiles="${SOURCEFORGE_SITE}/gtk2-perl/Pango-$version.tar.gz"
|
|
checksum=34b0a422df3fecd7597587048552457d48ae764c43bbefd2a9d62ceb6c8bac71
|
|
|
|
CFLAGS="-Wno-error -Wno-deprecated-declarations"
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" perl-Pango"
|
|
export REALFULLPERLRUN="/usr/bin/perl -I/usr/lib/perl5/vendor_perl"
|
|
make_build_args='FULLPERLRUN=$(REALFULLPERLRUN)'
|
|
fi
|
|
|
|
pre_configure() {
|
|
sed -i Makefile.PL -e "/.*$libs \.= $pangocairo_pkgcfg{libs};/i $libs .= ' ';"
|
|
}
|