27 lines
797 B
Plaintext
27 lines
797 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.1.3
|
|
release=1
|
|
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 -D -m 644 "$SRC/supervisord.conf" "$PKG/etc/supervisord.conf"
|
|
install -D -m 755 "$SRC/supervisord.rc" "$PKG/etc/rc.d/supervisord"
|
|
install -d -m 644 "$PKG/var/log/$name"
|
|
install -d "$PKG/etc/supervisor.d"
|
|
}
|