void-packages/srcpkgs/perl-Glib/template

22 lines
734 B
Bash

# Template file for 'perl-Glib'
pkgname=perl-Glib
version=1.3293
revision=1
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=7316a0c1e7cc5cb3db7211214f45d7bdc2354365a680ac4bd3ac8bf06d1cb500
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" perl-Glib"
export REALFULLPERLRUN="/usr/bin/perl -I/usr/lib/perl5/vendor_perl"
make_build_args='FULLPERLRUN=$(REALFULLPERLRUN)'
fi