Files
Arch-R/packages/python/sysutils/cssutils/build
Stephan Raue de71016fb4 initial import
2009-03-18 13:02:53 +01:00

22 lines
446 B
Bash
Executable File

#!/bin/sh
. config/options
$SCRIPTS/build toolchain
$SCRIPTS/build Python
. config/options.python
cd $BUILD/$1*
$PYTHON setup.py build
$PYTHON setup.py install --single-version-externally-managed \
-O1 --skip-build --prefix /usr --root .install
find .install -name "*.py" -type f -exec rm -rf "{}" ";"
find .install -name "*.pyo" -type f -exec rm -rf "{}" ";"
rm -rf .install/usr/lib/python*/site-packages/tests
rm -rf .install/usr/bin