aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-01-17 13:46:12 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-01-17 13:47:04 +0000
commit764a7a15d720ae522321c0e81ae3bdb9bb45e9d0 (patch)
tree2289e5bdc4adc40e2139de43c84081dba18db4a2 /main
parentd18cfd6f7c6936eeecaf594af2956f8df7c49399 (diff)
downloadaports-764a7a15d720ae522321c0e81ae3bdb9bb45e9d0.tar.bz2
aports-764a7a15d720ae522321c0e81ae3bdb9bb45e9d0.tar.xz
main/qemu: fix dependencies for linux-user qemus
Diffstat (limited to 'main')
-rw-r--r--main/qemu/APKBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/main/qemu/APKBUILD b/main/qemu/APKBUILD
index 4b8d929a1d..61206466e1 100644
--- a/main/qemu/APKBUILD
+++ b/main/qemu/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=qemu
pkgver=2.8.0
-pkgrel=3
+pkgrel=4
pkgdesc="QEMU is a generic machine emulator and virtualizer"
url="http://qemu.org/"
arch="all"
@@ -256,8 +256,11 @@ package() {
_subsys() {
local name=${1:-"${subpkgname#$pkgname-}"}
pkgdesc="Qemu ${name/-/ } emulator"
- depends="qemu"
options=""
+ depends=""
+ case "$name" in
+ system*) depends="qemu";;
+ esac
mkdir -p "$subpkgdir"/usr/bin
mv "$pkgdir"/usr/bin/qemu-$name "$subpkgdir"/usr/bin/
@@ -265,7 +268,7 @@ _subsys() {
img() {
pkgdesc="QEMU command line tool for manipulating disk images"
- replaces="qemu"
+ depends=""
options=""
mkdir -p "$subpkgdir"/usr/bin
@@ -288,6 +291,7 @@ img() {
guest() {
pkgdesc="QEMU guest agent"
+ depends=""
options=""
mkdir -p "$subpkgdir"/usr/bin