From 77eb2c8b5610a2d74d990f4f130f672168fd65cc Mon Sep 17 00:00:00 2001 From: Lukas Date: Mon, 26 Aug 2013 13:54:06 +0000 Subject: [PATCH 1/3] add libaio and seccomp for qemu --- libaio/PKGBUILD | 27 +++++++++++++++++++++++++++ libseccomp/PKGBUILD | 25 +++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 libaio/PKGBUILD create mode 100644 libseccomp/PKGBUILD diff --git a/libaio/PKGBUILD b/libaio/PKGBUILD new file mode 100644 index 000000000..cd6fed399 --- /dev/null +++ b/libaio/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Giuseppe CalĂ  +# Contributor: jensp +# Credit to encelo for updating the PKGBUILD + +pkgname=libaio +pkgver=0.3.109 +pkgrel=1 +pkgdesc="The Linux-native asynchronous I/O facility (aio) library" +arch=('i686' 'x86_64') +url="http://lse.sourceforge.net/io/aio.html" +license=('LGPL') +source=(http://ftp.de.debian.org/debian/pool/main/liba/${pkgname}/${pkgname}_${pkgver}.orig.tar.gz) +sha256sums=('bf4a457253cbaab215aea75cb6e18dc8d95bbd507e9920661ff9bdd288c8778d') + +build() { + cd "$srcdir/$pkgname-$pkgver" + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make prefix="$pkgdir/usr" install +} + + + + diff --git a/libseccomp/PKGBUILD b/libseccomp/PKGBUILD new file mode 100644 index 000000000..11f9d7231 --- /dev/null +++ b/libseccomp/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Daniel Micay +# Contributor: Patryk Kowalczyk < patryk at kowalczyk dot ws> + +pkgname=libseccomp +pkgver=2.1.0 +pkgrel=1 +pkgdesc='Enhanced seccomp library' +arch=('i686' 'x86_64') +license=('LGPL2.1') +url="http://sourceforge.net/projects/libseccomp/" +depends=('glibc') +source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver.tar.gz") + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +} +md5sums=('3961103c1234c13a810f6a12e60c797f') + From 7ffcf12d254c98e942e733e3338db9e118bda155 Mon Sep 17 00:00:00 2001 From: Lukas Date: Mon, 26 Aug 2013 14:50:27 +0000 Subject: [PATCH 2/3] Add seabios --- seabios/PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 seabios/PKGBUILD diff --git a/seabios/PKGBUILD b/seabios/PKGBUILD new file mode 100644 index 000000000..4d20eb551 --- /dev/null +++ b/seabios/PKGBUILD @@ -0,0 +1,27 @@ +# $Id$ +# Maintainer: Tobias Powalowski +pkgname=seabios +pkgver=1.7.3.1 +pkgrel=1 +pkgdesc="A 16-bit x86 bios" +arch=(any) +license=('GPL3' 'LGPL3') +url="http://www.coreboot.org/SeaBIOS" +makedepends=('iasl' 'python2') +source=(http://code.coreboot.org/p/seabios/downloads/get/${pkgname}-${pkgver}.tar.gz) +options=(!strip) +md5sums=('f2b67ae9cc4172b1d0204669ad93f019') + +build() +{ + cd "${srcdir}/${pkgname}-${pkgver}" + sed -i -e 's/python/python2/g' Makefile + make +} + +package() +{ + install -D -m644 "${srcdir}/${pkgname}-${pkgver}/out/bios.bin" "${pkgdir}/usr/share/qemu/bios.bin" +} + + From 2c1707a9ed16ec48cb756ce01ed5a476f5109bc8 Mon Sep 17 00:00:00 2001 From: Lukas Date: Mon, 26 Aug 2013 21:51:12 +0000 Subject: [PATCH 3/3] Remove seabios again --- seabios/PKGBUILD | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 seabios/PKGBUILD diff --git a/seabios/PKGBUILD b/seabios/PKGBUILD deleted file mode 100644 index 4d20eb551..000000000 --- a/seabios/PKGBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# $Id$ -# Maintainer: Tobias Powalowski -pkgname=seabios -pkgver=1.7.3.1 -pkgrel=1 -pkgdesc="A 16-bit x86 bios" -arch=(any) -license=('GPL3' 'LGPL3') -url="http://www.coreboot.org/SeaBIOS" -makedepends=('iasl' 'python2') -source=(http://code.coreboot.org/p/seabios/downloads/get/${pkgname}-${pkgver}.tar.gz) -options=(!strip) -md5sums=('f2b67ae9cc4172b1d0204669ad93f019') - -build() -{ - cd "${srcdir}/${pkgname}-${pkgver}" - sed -i -e 's/python/python2/g' Makefile - make -} - -package() -{ - install -D -m644 "${srcdir}/${pkgname}-${pkgver}/out/bios.bin" "${pkgdir}/usr/share/qemu/bios.bin" -} - -