mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-09 00:17:31 +00:00
aur/uwsgi to 1.0.4-1
This commit is contained in:
parent
8c10a0f483
commit
1012e5857a
1 changed files with 30 additions and 18 deletions
|
@ -1,29 +1,41 @@
|
|||
# -*- shell-script -*-
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
# Maintainer: Kevin Zuber <uKev@knet.eu>
|
||||
# Maintainer: Angel Velasquez <angvp@archlinux.org>
|
||||
# Contributor: Vsevolod Balashov <vsevolod@balashov.name>, Kevin Zuber <uKev@knet.eu>
|
||||
|
||||
python=python2
|
||||
name=uwsgi
|
||||
plugrel=1
|
||||
pkgname=$name
|
||||
pkgver=0.9.7.1
|
||||
|
||||
pkgname=uwsgi
|
||||
pkgver=1.0.4
|
||||
pkgrel=1
|
||||
pkgdesc="a fast (pure C), self-healing, developer-friendly WSGI server"
|
||||
arch=(i686 x86_64 arm)
|
||||
url="http://projects.unbit.it/$name"
|
||||
arch=(i686 x86_64)
|
||||
url="http://projects.unbit.it/$pkgname"
|
||||
license=(GPL2)
|
||||
depends=("$python" libxml2)
|
||||
conflicts=(python-$name)
|
||||
makedepends=(gcc "$python")
|
||||
source=(http://projects.unbit.it/downloads/$name-$pkgver.tar.gz)
|
||||
depends=(python2 libxml2)
|
||||
conflicts=(python-$pkgname)
|
||||
makedepends=(gcc python2)
|
||||
backup=(etc/conf.d/uwsgid etc/uwsgi/uwsgi.ini)
|
||||
source=(http://projects.unbit.it/downloads/$pkgname-$pkgver.tar.gz
|
||||
uwsgid.sh
|
||||
uwsgi.ini
|
||||
uwsgid.conf)
|
||||
md5sums=('559c8d1fa8274fb45437c277c0c7f121'
|
||||
'3dd03dce734b50910b3a5e12da0fc062'
|
||||
'495afaafac6da631a859ab72c5983c36'
|
||||
'5db37c7dbfd432623883d125d7127fbf')
|
||||
|
||||
build() {
|
||||
cd $srcdir/$name-$pkgver
|
||||
CFLAGS='' make -f Makefile.Py27
|
||||
cd $srcdir/$pkgname-$pkgver
|
||||
make -f Makefile.Py27
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $srcdir/$pkgname-$pkgver
|
||||
mkdir -p $pkgdir/usr/bin
|
||||
install -Dm755 uwsgi $pkgdir/usr/bin/uwsgi
|
||||
mkdir -p $pkgdir/etc/rc.d
|
||||
install -Dm755 $srcdir/uwsgid.sh $pkgdir/etc/rc.d/uwsgid
|
||||
mkdir -p $pkgdir/etc/conf.d
|
||||
install -Dm644 $srcdir/uwsgid.conf $pkgdir/etc/conf.d/uwsgid
|
||||
mkdir -p $pkgdir/etc/uwsgi/apps
|
||||
install -Dm644 $srcdir/uwsgi.ini $pkgdir/etc/uwsgi/uwsgi.ini
|
||||
}
|
||||
md5sums=('cb023f300eaace3cbf2f5817b8acafe0')
|
||||
|
|
Loading…
Reference in a new issue