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
|
version=0.90.3
|
||||||
revision=3
|
revision=3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
build_helper=qemu
|
||||||
configure_args="--enable-experimental"
|
configure_args="--enable-experimental"
|
||||||
hostmakedepends="automake libtool pkg-config"
|
hostmakedepends="automake libtool pkg-config"
|
||||||
makedepends="expat-devel dssi-devel jack-devel glib-devel gtk+-devel
|
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"
|
changelog="https://raw.githubusercontent.com/calf-studio-gear/calf/master/ChangeLog"
|
||||||
distfiles="https://github.com/calf-studio-gear/calf/archive/${version}.tar.gz"
|
distfiles="https://github.com/calf-studio-gear/calf/archive/${version}.tar.gz"
|
||||||
checksum=8781cbd1a81dec59b5923a23141ab2ca74e0e724389e15ffcf3820ace138a46c
|
checksum=8781cbd1a81dec59b5923a23141ab2ca74e0e724389e15ffcf3820ace138a46c
|
||||||
nocross="https://build.voidlinux.org/builders/armv6l_builder/builds/6795/steps/shell_3/logs/stdio"
|
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
i686*|x86_64*) configure_args+=" --enable-sse";;
|
i686*|x86_64*) configure_args+=" --enable-sse";;
|
||||||
|
@ -25,3 +25,9 @@ esac
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
NOCONFIGURE=1 ./autogen.sh
|
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…
Add table
Add a link
Reference in a new issue