diff options
Diffstat (limited to 'main/qemu/APKBUILD')
-rw-r--r-- | main/qemu/APKBUILD | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/main/qemu/APKBUILD b/main/qemu/APKBUILD index 95f4d8358..ef2091127 100644 --- a/main/qemu/APKBUILD +++ b/main/qemu/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=qemu pkgver=1.4.0 -pkgrel=0 +pkgrel=1 pkgdesc="QEMU is a generic machine emulator and virtualizer" url="http://qemu,org/" arch="all" @@ -38,8 +38,11 @@ $pkgname-xtensaeb $pkgname-or32 $pkgname-unicore32 $pkgname-img +$pkgname-guest-agent:guest " source="http://wiki.qemu-project.org/download/qemu-$pkgver.tar.bz2 + qemu-guest-agent.confd + qemu-guest-agent.initd 80-kvm.rules" prepare() { @@ -151,9 +154,25 @@ img() { return $_err } +guest() { + pkgdesc="QEMU guest agent" + mkdir -p "$subpkgdir"/usr/bin + mv "$pkgdir"/usr/bin/qemu-ga "$subpkgdir"/usr/bin/ + install -Dm755 "$srcdir"/qemu-guest-agent.initd \ + "$subpkgdir"/etc/init.d/qemu-guest-agent || return 1 + install -Dm644 "$srcdir"/qemu-guest-agent.confd \ + "$subpkgdir"/etc/conf.d/qemu-guest-agent || return 1 +} + md5sums="78f13b774814b6b7ebcaf4f9b9204318 qemu-1.4.0.tar.bz2 +1663bc6977f6886a58394155b1bf3676 qemu-guest-agent.confd +2035cd781ea810e94bda250c609d8d90 qemu-guest-agent.initd 66660f143235201249dc0648b39b86ee 80-kvm.rules" sha256sums="066297ed77408fb7588889c271a85cf3c259ad55c939315988e6062d7708eda8 qemu-1.4.0.tar.bz2 +d84e53a94584f37f3bd1b21f44077b5de0d07094c6729f26ae20ab1f7b9cc298 qemu-guest-agent.confd +982fa8ba67c728405305e4cf5a36a41a780b3d1f388ebd6377e7964c271a1c92 qemu-guest-agent.initd 37f666f1cdb7d8a62171de69b531681dcb0fba74236729dac8b6c019232eba84 80-kvm.rules" sha512sums="8ad0f1409d94283303abdc80e319fcfaad7818cade7c77fcba1b1adde411726ad166c5cc62a561414afb22b3bff956c4ec0cc7d0fec36542dd86dc347506ce72 qemu-1.4.0.tar.bz2 +d90c034cae3f9097466854ed1a9f32ab4b02089fcdf7320e8f4da13b2b1ff65067233f48809911485e4431d7ec1a22448b934121bc9522a2dc489009e87e2b1f qemu-guest-agent.confd +761b4e2397569dae45ae3bb9e46e28746275297f629af9e9065525497fd26a48b65d8abcf4282727afd35309e338967acf6a1b14c3169577bdc16c1f42e618b3 qemu-guest-agent.initd 9b7a89b20fcf737832cb7b4d5dc7d8301dd88169cbe5339eda69fbb51c2e537d8cb9ec7cf37600899e734209e63410d50d0821bce97e401421db39c294d97be2 80-kvm.rules" |