perl-Glib: cross-compile
This commit is contained in:
parent
01b8bcc620
commit
9e0cabfdc8
|
@ -4,13 +4,18 @@ version=1.3292
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="Glib-${version}"
|
wrksrc="Glib-${version}"
|
||||||
build_style=perl-module
|
build_style=perl-module
|
||||||
hostmakedepends="perl"
|
hostmakedepends="libglib-devel perl-ExtUtils-Depends perl-ExtUtils-PkgConfig"
|
||||||
makedepends="perl-ExtUtils-Depends perl-ExtUtils-PkgConfig glib-devel"
|
makedepends="glib-devel perl"
|
||||||
depends="${hostmakedepends/glib-devel/}"
|
depends="perl"
|
||||||
short_desc="Perl bindings for Glib 2"
|
short_desc="Perl bindings for Glib 2"
|
||||||
maintainer="Zach Dykstra <dykstra.zachary@gmail.com>"
|
maintainer="Zach Dykstra <dykstra.zachary@gmail.com>"
|
||||||
license="LGPL-2.1-or-later"
|
license="LGPL-2.1-or-later"
|
||||||
homepage="http://gtk2-perl.sourceforge.net/"
|
homepage="http://gtk2-perl.sourceforge.net/"
|
||||||
distfiles="${SOURCEFORGE_SITE}/gtk2-perl/Glib-${version}.tar.gz"
|
distfiles="${SOURCEFORGE_SITE}/gtk2-perl/Glib-${version}.tar.gz"
|
||||||
checksum=2f3bf06de572500e168acc6536d04f0066dd2fcbdfc3724cd5e5896d5a39a0e0
|
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