perl-Glib: cross-compile
This commit is contained in:
parent
01b8bcc620
commit
9e0cabfdc8
|
@ -4,13 +4,18 @@ version=1.3292
|
|||
revision=1
|
||||
wrksrc="Glib-${version}"
|
||||
build_style=perl-module
|
||||
hostmakedepends="perl"
|
||||
makedepends="perl-ExtUtils-Depends perl-ExtUtils-PkgConfig glib-devel"
|
||||
depends="${hostmakedepends/glib-devel/}"
|
||||
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
|
||||
nocross=yes
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
hostmakedepends+=" perl-Glib"
|
||||
export REALFULLPERLRUN="/usr/bin/perl -I/usr/lib/perl5/vendor_perl"
|
||||
make_build_args='FULLPERLRUN=$(REALFULLPERLRUN)'
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue