diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-05-23 16:01:57 +0000 |
---|---|---|
committer | Francesco Colista <francesco.colista@gmail.com> | 2012-05-25 12:21:05 +0000 |
commit | b2405cea7806302001c1d48df2924d422afeeb71 (patch) | |
tree | 1184495798225a6709106d9b8164867ed5ed454d /main | |
parent | 2b318208c6a25a0f89cde0b66bf0e6f824092341 (diff) | |
download | aports-b2405cea7806302001c1d48df2924d422afeeb71.tar.bz2 aports-b2405cea7806302001c1d48df2924d422afeeb71.tar.xz |
main/xen: split out -dev, -libs and -hypervisor
Diffstat (limited to 'main')
-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 |