void-packages/srcpkgs/perl-Gtk2/template
2021-07-21 13:23:21 +02:00

21 lines
761 B
Bash

# Template file for 'perl-Gtk2'
pkgname=perl-Gtk2
version=1.24993
revision=3
wrksrc="Gtk2-$version"
build_style=perl-module
hostmakedepends="perl-ExtUtils-Depends perl-ExtUtils-PkgConfig perl-Pango"
makedepends="gtk+-devel perl-Pango"
depends="perl perl-Pango"
short_desc="Perl bindings for Gtk2"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="http://gtk2-perl.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/gtk2-perl/Gtk2-$version.tar.gz"
checksum=49c443743b2eefe11a768002724f7f6a4c48efc94ff3cd3a559fb7e7b693c967
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" perl-Gtk2"
export REALFULLPERLRUN="/usr/bin/perl -I/usr/lib/perl5/vendor_perl"
make_build_args='PERLRUN=$(REALFULLPERLRUN) FULLPERLRUN=$(REALFULLPERLRUN)'
fi