PKGBUILDs/aur/uwsgi/PKGBUILD

30 lines
720 B
Bash
Raw Normal View History

2011-03-27 16:11:24 +00:00
# -*- shell-script -*-
2011-02-16 15:12:59 +00:00
#
2011-03-27 16:11:24 +00:00
# $Id$
#
# Maintainer: Kevin Zuber <uKev@knet.eu>
# Contributor: Vsevolod Balashov <vsevolod@balashov.name>, Kevin Zuber <uKev@knet.eu>
2011-02-16 15:12:59 +00:00
2011-03-27 16:11:24 +00:00
python=python2
name=uwsgi
2011-02-16 15:12:59 +00:00
plugrel=1
2011-03-27 16:11:24 +00:00
pkgname=$name
pkgver=0.9.7.1
2011-02-16 15:12:59 +00:00
pkgrel=1
2011-03-27 16:11:24 +00:00
pkgdesc="a fast (pure C), self-healing, developer-friendly WSGI server"
2011-02-16 15:12:59 +00:00
arch=(i686 x86_64 arm)
url="http://projects.unbit.it/$name"
license=(GPL2)
2011-03-27 16:11:24 +00:00
depends=("$python" libxml2)
conflicts=(python-$name)
makedepends=(gcc "$python")
source=(http://projects.unbit.it/downloads/$name-$pkgver.tar.gz)
2011-02-16 15:12:59 +00:00
build() {
2011-03-27 16:11:24 +00:00
cd $srcdir/$name-$pkgver
2011-02-16 15:12:59 +00:00
CFLAGS='' make -f Makefile.Py27
2011-03-27 16:11:24 +00:00
mkdir -p $pkgdir/usr/bin
install -Dm755 uwsgi $pkgdir/usr/bin/uwsgi
2011-02-16 15:12:59 +00:00
}
2011-03-27 16:11:24 +00:00
md5sums=('cb023f300eaace3cbf2f5817b8acafe0')