# Template file for 'salt'
pkgname=salt
version=2015.8.5
revision=1
build_style=python-module
noarch=yes
pycompile_module="salt"
conf_files="/etc/salt/*"
hostmakedepends="python python-devel"
makedepends="python-devel"
depends="python python-yaml python-MarkupSafe python-Jinja2 python-requests python-pyzmq python-crypto python-M2Crypto python-tornado python-msgpack dmidecode pciutils"
short_desc="Remote execution system, and configuration manager"
maintainer="Toyam Cox <Vaelatern@gmail.com>"
license="Apache-2.0"
homepage="http://saltstack.org/"
distfiles="$PYPI_SITE/s/salt/salt-${version}.tar.gz"
checksum=db395702f048ea384ccc440201c24d7044685977ae6a8588d0d0933246f0c673

post_install() {
	vmkdir /etc/salt 0750
	vcopy conf/* /etc/salt/
	vsv salt-api
	vsv salt-master
	vsv salt-minion
	vsv salt-syndic
}
