aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xen/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/xen/APKBUILD')
-rw-r--r--testing/xen/APKBUILD95
1 files changed, 0 insertions, 95 deletions
diff --git a/testing/xen/APKBUILD b/testing/xen/APKBUILD
deleted file mode 100644
index c6c120168e..0000000000
--- a/testing/xen/APKBUILD
+++ /dev/null
@@ -1,95 +0,0 @@
-# Contributor: Roger Pau Monne <roger.pau@entel.upc.edu>
-# Maintainer:
-pkgname=xen
-pkgver=4.1.2
-pkgrel=2
-pkgdesc="Xen hypervisor"
-url="http://www.xen.org"
-arch="x86 x86_64"
-license="GPL"
-depends="udev syslinux bash"
-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"
-source="http://bits.xensource.com/oss-xen/release/$pkgver/$pkgname-$pkgver.tar.gz
- blktap2_libvhd_add_iconv.patch
- detect_libiconv.patch
- fix_bswap_blktap.patch
- fix_bswap_blktap2.patch
- fix_ipxe_no_pie_default.patch
- define_fsimage_dir.patch
- pygrub_alpine.patch
- librt.patch
- busybox-sed.patch
- xencommons.initd
- xend.initd
- xendomains.initd"
-
-_builddir="$srcdir"/$pkgname-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-
- # remove all -Werror
- msg "Eradicating -Werror..."
- find -name '*.mk' -o -name 'Make*' | xargs sed -i -e 's/-Werror//g'
-
- echo "LIBLEAFDIR_x86_64=lib" >> .config
-}
-
-build() {
- cd "$_builddir"
-
- # Unset CFLAGS and LDFLAGS because the xen build system
- # doesn't support them. Instead use .config in xen root
- # folder if necessary.
- unset CFLAGS
- unset LDFLAGS
-
- msg "Running preflight check..."
- (cd tools/check; ./chk build) || return 1
-
- msg "Building hypervisor..."
- make xen || return 1
-
- msg "Building tools..."
- make tools || return 1
-
- msg "Building stub domains..."
- make -j1 stubdom || return 1
-}
-
-package() {
- cd "$_builddir"
-
- unset CFLAGS
- unset LDFLAGS
-
- make -j1 DESTDIR="$pkgdir" install-xen install-tools install-stubdom \
- || return 1
-
- install -m755 -D "$srcdir"/xencommons.initd "$pkgdir"/etc/init.d/xencommons
- install -m755 -D "$srcdir"/xend.initd "$pkgdir"/etc/init.d/xend
- install -m755 -D "$srcdir"/xendomains.initd "$pkgdir"/etc/init.d/xendomains
-}
-
-md5sums="73561faf3c1b5e36ec5c089b5db848ad xen-4.1.2.tar.gz
-6d4b045ae56be6288733d0e078f591ea blktap2_libvhd_add_iconv.patch
-ed3283697cb1ddff066f4087eabf68c6 detect_libiconv.patch
-503f0883f4a0b50fe4e37e09ed9a6177 fix_bswap_blktap.patch
-b973dc1ffcc6872e222b36f3b7b4836b fix_bswap_blktap2.patch
-10dcf0b6a05691e9f88afc01bd414480 fix_ipxe_no_pie_default.patch
-0bb8a435020a5a49b38b1a447fb69977 define_fsimage_dir.patch
-a7500c42804abdf68e051dc667e65f93 pygrub_alpine.patch
-fa06495a175571f4aa3b6cb88937953e librt.patch
-1bea3543ddc712330527b62fd9ff6520 busybox-sed.patch
-4cf88b53f8ca8d99ad52bae419b620a7 xencommons.initd
-b5bfc08b82bc0d21193714719a719798 xend.initd
-86e7923383a906404da321d1814657e9 xendomains.initd"