diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-05-23 16:01:57 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-05-23 16:01:57 +0000 |
commit | 4db8b8388f16a8beb197f530bf3ea4bc080a3fef (patch) | |
tree | 1184495798225a6709106d9b8164867ed5ed454d /main/xen/APKBUILD | |
parent | 88a1fbea9beba1b8b21cb60968d39554e9479263 (diff) | |
download | aports-4db8b8388f16a8beb197f530bf3ea4bc080a3fef.tar.bz2 aports-4db8b8388f16a8beb197f530bf3ea4bc080a3fef.tar.xz |
main/xen: split out -dev, -libs and -hypervisor
Diffstat (limited to 'main/xen/APKBUILD')
-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 |