### this file is sourced not run
PKGVER=2.4.1
PKGBUILD=1
PKGARCH=i686

# source: post BLFS 7.8 2016-01-06
TARBALL=scons-$PKGVER.tar.gz
MD5SUM=9a0ddf33d9839f04380e0fae87cc4b40
SRC_URL=http://downloads.sourceforge.net/scons/$TARBALL
BUNDLE=

SLACKREQ=python32
SLACKDESC="scons32: scons32 $PKGVER (SCONS build system)  
scons32:  
scons32: SCons is a tool for building software (and other files) implemented in 
scons32: Python. It is similar to the ever popular Make.  
scons32: 
scons32: This contains 32-bit version of the library.
scons32: 
scons32: 
scons32: 
scons32: 
scons32:
"

### default pkg_download
### default pkg_prepare
### package - only collect the libraries
pkg_package() {
	rm -rf bin sbin usr/bin usr/sbin usr/include usr/share
}

### build
pkg_build() {
	cd /tmp/scons* &&
	python setup.py build --build-base=build32 &&
	python setup.py install \
		--prefix=/usr  \
		--standard-lib \
		--prefix=/usr  \
		--install-data=/usr/share \
		--install-purelib=/usr/$LIBDIR/python2.7/site-packages &&
	pkg_build_slackdesc
}


