diff options
-rw-r--r-- | main/xen/APKBUILD | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/main/xen/APKBUILD b/main/xen/APKBUILD index 993cfb295..dda50521c 100644 --- a/main/xen/APKBUILD +++ b/main/xen/APKBUILD @@ -3,7 +3,7 @@ # Maintainer: William Pitcock <nenolod@dereferenced.org> pkgname=xen pkgver=4.1.2 -pkgrel=8 +pkgrel=9 pkgdesc="Xen hypervisor" url="http://www.xen.org/" arch="x86 x86_64" @@ -13,7 +13,7 @@ depends_dev="openssl-dev python-dev e2fsprogs-dev gettext zlib-dev ncurses-dev libiconv-dev dev86 texinfo perl iasl pciutils-dev" makedepends="$depends_dev" install="" -subpackages="$pkgname-doc" +subpackages="$pkgname-doc $pkgname-dev $pkgname-libs $pkgname-hypervisor" source="http://bits.xensource.com/oss-xen/release/$pkgver/$pkgname-$pkgver.tar.gz blktap2_libvhd_add_iconv.patch detect_libiconv.patch @@ -100,6 +100,22 @@ package() { "$pkgdir"/etc/xen/xen-consoles.logrotate } +libs() { + pkgdesc="Libraries for Xen tools" + replaces="xen" + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/*.so.* \ + "$pkgdir"/usr/lib/fs \ + "$subpkgdir"/usr/lib/ +} + +hypervisor() { + pkgdesc="Xen hypervisor" + replaces="xen" + mkdir -p "$subpkgdir" + mv "$pkgdir"/boot "$subpkgdir"/ +} + md5sums="73561faf3c1b5e36ec5c089b5db848ad xen-4.1.2.tar.gz 6d4b045ae56be6288733d0e078f591ea blktap2_libvhd_add_iconv.patch ed3283697cb1ddff066f4087eabf68c6 detect_libiconv.patch |