27 lines
817 B
Plaintext
27 lines
817 B
Plaintext
# Description: A system for controlling process state under UNIX
|
|
# URL: http://supervisord.org
|
|
# Maintainer: James Mills, prologic at shortcircuit dot net dot au
|
|
# Packager: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
|
|
#
|
|
# Depends on: meld3 setuptools
|
|
|
|
name=supervisor
|
|
version=3.0
|
|
release=5
|
|
source=(http://pypi.python.org/packages/source/s/$name/$name-$version.tar.gz
|
|
supervisord.rc
|
|
supervisord.conf)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
# Build/Package
|
|
/usr/bin/python setup.py install -O1 --prefix=/usr --root=$PKG
|
|
install -Dm644 "$SRC/supervisord.conf" "$PKG/etc/supervisord.conf"
|
|
install -Dm755 "$SRC/supervisord.rc" "$PKG/etc/rc.d/supervisord"
|
|
install -dm644 "$PKG/var/log/$name"
|
|
install -d "$PKG/etc/supervisor.d"
|
|
|
|
chown -R root:root $PKG
|
|
}
|