Want more features on Pastebin? Sign Up, it's FREE!
Guest

lib32-libaio

By: a guest on Aug 3rd, 2011  |  syntax: Bash  |  size: 0.73 KB  |  views: 86  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer :
  2. # Contributor :
  3.  
  4. pkgname=lib32-libaio
  5. pkgver=0.3.109
  6. pkgrel=2
  7. pkgdesc="The Linux-native asynchronous I/O facility (aio) library (32 bit)"
  8. arch=('x86_64')
  9. url="http://lse.sourceforge.net/io/aio.html"
  10. license=('LGPL')
  11. makedepends=('gcc-multilib')
  12. source=(ftp://ftp.kernel.org/pub/linux/libs/aio/libaio-$pkgver.tar.bz2)
  13. md5sums=('14f3a22fc14118a48be80ab5ea974f49')
  14.  
  15. build() {
  16.   cd "$srcdir/libaio-$pkgver"
  17.  
  18.   # set lib32 environment in Makefiles
  19.   sed -i \
  20.         -e 's/\/lib/\/lib32/g' \
  21.         Makefile
  22.   sed -i \
  23.         -e '/^libdir/s/lib/lib32/' \
  24.         -e '/^CFLAGS/s/:= /&-m32 /' \
  25.         src/Makefile
  26.  
  27.   make
  28. }
  29.  
  30. package() {
  31.   cd "$srcdir/libaio-$pkgver"
  32.   make prefix="$pkgdir/usr" install
  33.   rm -rf ${pkgdir}/usr/include
  34. }
clone this paste RAW Paste Data