# Template file for 'scons'
pkgname=scons
version=2.0.1
revision=2
build_style=python-module
makedepends="python"
short_desc="SCons, a software construction tool"
maintainer="davehome <davehome@redthumb.info.tm>"
homepage="http://www.scons.org/"
license="MIT"
distfiles="http://prdownloads.sourceforge.net/$pkgname/$pkgname-$version.tar.gz"
checksum=0a8151da41c4a26c776c84f44f747ce03e093d43be3e83b38c14a76ab3256762
long_desc="
 SCons is a software construction tool—that is, a superior alternative to the
 classic Make build tool that we all know and love.

 SCons is implemented as a Python script and set of modules, and SCons
 configuration files are actually executed as Python scripts. This gives
 SCons many powerful capabilities not found in other software build tools."

post_install() {
	vmkdir usr/share
	mv ${DESTDIR}/usr/man ${DESTDIR}/usr/share
}

scons_package() {
	depends="python"
	noarch="yes"
	pycompile_dirs="usr/lib/scons-2.0.1/SCons"
	pkg_install() {
		vmove usr
	}
}
