xbindkeys: fix cross.

This commit is contained in:
Leah Neukirchen 2020-05-24 19:04:37 +02:00
parent 6f9d8d5d9c
commit 2322c5a3a5

View file

@ -3,7 +3,8 @@ pkgname=xbindkeys
version=1.8.7
revision=1
build_style=gnu-configure
makedepends="pkg-config libX11-devel guile-devel guile gc-devel"
hostmakedepends="pkg-config"
makedepends="libX11-devel guile-devel guile gc-devel"
depends="guile"
short_desc="Launch shell commands with your keyboard or your mouse under X"
maintainer="Leah Neukirchen <leah@vuxu.org>"
@ -11,9 +12,3 @@ license="GPL-2.0-or-later"
homepage="http://www.nongnu.org/xbindkeys/xbindkeys.html"
distfiles="http://www.nongnu.org/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=a29b86a8ec91d4abc83b420e547da27470847d0efe808aa6e75147aa0adb82f2
if [ "$CROSS_BUILD" ]; then
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/guile/2.0"
configure_args="ac_cv_path_GUILE=${XBPS_CROSS_BASE}/usr/lib
ac_cv_path_GUILE_CONFIG=${XBPS_CROSS_BASE}/usr/bin/guile-config"
fi