calf: fix cross
This commit is contained in:
parent
f5b0115ba6
commit
3197236f5c
1 changed files with 7 additions and 1 deletions
|
@ -3,6 +3,7 @@ pkgname=calf
|
|||
version=0.90.3
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
build_helper=qemu
|
||||
configure_args="--enable-experimental"
|
||||
hostmakedepends="automake libtool pkg-config"
|
||||
makedepends="expat-devel dssi-devel jack-devel glib-devel gtk+-devel
|
||||
|
@ -16,7 +17,6 @@ homepage="http://calf-studio-gear.org"
|
|||
changelog="https://raw.githubusercontent.com/calf-studio-gear/calf/master/ChangeLog"
|
||||
distfiles="https://github.com/calf-studio-gear/calf/archive/${version}.tar.gz"
|
||||
checksum=8781cbd1a81dec59b5923a23141ab2ca74e0e724389e15ffcf3820ace138a46c
|
||||
nocross="https://build.voidlinux.org/builders/armv6l_builder/builds/6795/steps/shell_3/logs/stdio"
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
i686*|x86_64*) configure_args+=" --enable-sse";;
|
||||
|
@ -25,3 +25,9 @@ esac
|
|||
pre_configure() {
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
}
|
||||
|
||||
pre_install() {
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
vsed -e "s|exec |exec /usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static |" -i src/calfmakerdf
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue