[arch-commits] Commit in libaio/repos (4 files)

Anatol Pomozov anatolik at archlinux.org
Tue Nov 11 20:50:28 UTC 2014


    Date: Tuesday, November 11, 2014 @ 21:50:28
  Author: anatolik
Revision: 226078

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  libaio/repos/testing-i686/
  libaio/repos/testing-i686/PKGBUILD
    (from rev 226077, libaio/trunk/PKGBUILD)
  libaio/repos/testing-x86_64/
  libaio/repos/testing-x86_64/PKGBUILD
    (from rev 226077, libaio/trunk/PKGBUILD)

-------------------------+
 testing-i686/PKGBUILD   |   32 ++++++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)

Copied: libaio/repos/testing-i686/PKGBUILD (from rev 226077, libaio/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2014-11-11 20:50:28 UTC (rev 226078)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer:  Bartłomiej Piotrowski <barthalion at gmail.com>
+# Contributor: Thomas S Hatch <thatch45 at gmail dot com>
+
+pkgname=libaio
+pkgver=0.3.110
+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)
+md5sums=('2a35602e43778383e2f4907a4ca39ab8')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  # AIO library is a thin wrapper around kernel syscalls, it does not use stdlib
+  # and other helpers like stack protection libraries
+  CFLAGS="-march=${CARCH/_/-} -mtune=generic -O2 -pipe"
+  make
+}
+
+check() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make partcheck
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make prefix="$pkgdir/usr" install
+}
+

Copied: libaio/repos/testing-x86_64/PKGBUILD (from rev 226077, libaio/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2014-11-11 20:50:28 UTC (rev 226078)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer:  Bartłomiej Piotrowski <barthalion at gmail.com>
+# Contributor: Thomas S Hatch <thatch45 at gmail dot com>
+
+pkgname=libaio
+pkgver=0.3.110
+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)
+md5sums=('2a35602e43778383e2f4907a4ca39ab8')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  # AIO library is a thin wrapper around kernel syscalls, it does not use stdlib
+  # and other helpers like stack protection libraries
+  CFLAGS="-march=${CARCH/_/-} -mtune=generic -O2 -pipe"
+  make
+}
+
+check() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make partcheck
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make prefix="$pkgdir/usr" install
+}
+


More information about the arch-commits mailing list