qemu-user-static: update to 5.0.0.
This commit is contained in:
parent
8acf2cc06b
commit
319278dac4
@ -1,16 +1,16 @@
|
||||
# Template file for 'qemu-user-static'
|
||||
pkgname=qemu-user-static
|
||||
version=4.2.0
|
||||
version=5.0.0
|
||||
revision=1
|
||||
wrksrc="qemu-${version}"
|
||||
hostmakedepends="pkg-config automake python"
|
||||
hostmakedepends="pkg-config automake python3"
|
||||
makedepends="dtc-devel libglib-static pixman-devel libuuid-devel"
|
||||
short_desc="QEMU User-mode emulators (statically compiled)"
|
||||
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
|
||||
license="GPL-2.0-or-later, LGPL-2.1-or-later"
|
||||
homepage="https://www.qemu.org"
|
||||
distfiles="https://wiki.qemu.org/download/qemu-${version}.tar.bz2"
|
||||
checksum=3cf4f3f73233a12211a045f07eef467fdc7bf3877568cd0c8a0cf36121da9fbd
|
||||
checksum=c368f81d0a6e8af62e1699fa6aebdc1bf850f3cea6b9839621304a0a4e575efb
|
||||
|
||||
_fmts="aarch64 alpha arm armeb cris i386 m68k microblaze mips mipsel mips64 mips64el ppc ppc64 ppc64abi32 ppc64le s390x sh4 sh4eb sparc sparc32plus sparc64 x86_64"
|
||||
|
||||
@ -78,20 +78,22 @@ for _fmt in $_fmts; do
|
||||
done
|
||||
|
||||
binfmts="${binfmts%?}"
|
||||
nopie=yes
|
||||
|
||||
post_extract() {
|
||||
sed -i 's/__u64/unsigned long/' linux-user/host/aarch64/hostdep.h
|
||||
}
|
||||
|
||||
do_configure() {
|
||||
./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/libexec \
|
||||
--disable-kvm --disable-vnc-png \
|
||||
--disable-virtfs --disable-fdt --disable-seccomp \
|
||||
--enable-linux-user --disable-system
|
||||
}
|
||||
|
||||
do_build() {
|
||||
make ${makejobs} LDFLAGS="-static -lrt -luuid"
|
||||
}
|
||||
|
||||
do_install() {
|
||||
make DESTDIR=${DESTDIR} install
|
||||
# Remove unneeded stuff.
|
||||
|
Loading…
x
Reference in New Issue
Block a user