From 4db8b8388f16a8beb197f530bf3ea4bc080a3fef Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 23 May 2012 16:01:57 +0000 Subject: main/xen: split out -dev, -libs and -hypervisor --- main/xen/APKBUILD | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'main/xen') diff --git a/main/xen/APKBUILD b/main/xen/APKBUILD index 993cfb295f..dda50521c3 100644 --- a/main/xen/APKBUILD +++ b/main/xen/APKBUILD @@ -3,7 +3,7 @@ # Maintainer: William Pitcock 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 -- cgit v1.2.3