This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Apr 24th, 2010  |  syntax: Bash  |  size: 1.23 KB  |  views: 178  |  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. # Contributor: DaNiMoTh <jjdanimoth@gmail.com>
  2. # Contributor: Andrea Scarpino <bash.lnx@gmail.com>
  3. # Maintainer: Gereon Schomber
  4.  
  5. pkgname=ace
  6. pkgver=5.7.8
  7. pkgrel=1
  8. pkgdesc="Provides abstractions for sockets,demultiplexing loops"
  9. url="http://www.cs.wustl.edu/~schmidt/ACE.html"
  10. license=('custom')
  11. arch=('i686' 'x86_64')
  12. depends=('openssl' 'gcc')
  13. options=(!libtool)
  14. source=(http://download.dre.vanderbilt.edu/previous_versions/ACE-${pkgver}.tar.bz2
  15.         license.txt)
  16.  
  17. build() {
  18. #  export LDFLAGS="${LDFLAGS//-Wl,--as-needed}"
  19.   cd $srcdir/ACE_wrappers
  20.   sed -i.bak -e 's/SSL_METHOD/const SSL_METHOD/g' configure || return 1
  21.   install -d objdir
  22.   cd objdir
  23.   ../configure --prefix=/usr --disable-ace-examples
  24.   ## use this if the configure scipt hangs at "checking mutex timeouts"
  25.   # ../configure --prefix=/usr --disable-pthreads --disable-ace-examples
  26.   make || return 1
  27. }
  28. package() {
  29.   cd $srcdir/ACE_wrappers/objdir
  30.   make install DESTDIR=$pkgdir
  31.   rm -rf $pkgdir/home
  32.   cd $srcdir/ACE_wrappers/ace
  33.   install -m 644 Svc_Conf_Token_Table.h Unbounded_Set_Ex.h \
  34.    Unbounded_Set_Ex.inl Unbounded_Set_Ex.cpp $pkgdir/usr/include/ace
  35. }
  36. md5sums=('e2d3ec7936fefdbc5f9fa715ba334b21'
  37.          '4c2b60acc88daa6200a6f3680149bd9b')
clone this paste RAW Paste Data