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

uwsgi PKGBUILD

By: a guest on Apr 25th, 2011  |  syntax: None  |  size: 0.76 KB  |  views: 179  |  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. # -*- shell-script -*-
  2. #
  3. # $Id$
  4. #
  5. # Maintainer: Kevin Zuber <uKev@knet.eu>
  6. # Contributor: Vsevolod Balashov <vsevolod@balashov.name>, Kevin Zuber <uKev@knet.eu>
  7.  
  8. python=python2
  9. name=uwsgi
  10.  
  11. pkgname=$name
  12. pkgver=0.9.7.1
  13. pkgrel=1
  14. pkgdesc="a fast (pure C), self-healing, developer-friendly WSGI server"
  15. arch=(i686 x86_64 arm)
  16. url="http://projects.unbit.it/$name"
  17. license=(GPL2)
  18. depends=("$python" libxml2)
  19. conflicts=(python-$name)
  20. makedepends=(gcc "$python")
  21. source=(http://projects.unbit.it/downloads/$name-$pkgver.tar.gz)
  22.  
  23. build() {
  24.   cd $srcdir/$name-$pkgver
  25.   sed -i 's/-Werror//' uwsgiconfig.py
  26.   CFLAGS='' make -f Makefile.Py27
  27.   mkdir -p $pkgdir/usr/bin
  28.   install -Dm755 uwsgi $pkgdir/usr/bin/uwsgi
  29. }
  30. md5sums=('cb023f300eaace3cbf2f5817b8acafe0')
clone this paste RAW Paste Data