void-packages/srcpkgs/perl-Glib/template

22 lines
734 B
Bash

# Template file for 'perl-Glib'
pkgname=perl-Glib
version=1.3292
revision=2
wrksrc="Glib-${version}"
build_style=perl-module
hostmakedepends="libglib-devel perl-ExtUtils-Depends perl-ExtUtils-PkgConfig"
makedepends="glib-devel perl"
depends="perl"
short_desc="Perl bindings for Glib 2"
maintainer="Zach Dykstra <dykstra.zachary@gmail.com>"
license="LGPL-2.1-or-later"
homepage="http://gtk2-perl.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/gtk2-perl/Glib-${version}.tar.gz"
checksum=2f3bf06de572500e168acc6536d04f0066dd2fcbdfc3724cd5e5896d5a39a0e0
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" perl-Glib"
export REALFULLPERLRUN="/usr/bin/perl -I/usr/lib/perl5/vendor_perl"
make_build_args='FULLPERLRUN=$(REALFULLPERLRUN)'
fi