2009-10-18 07:25:16 +00:00
|
|
|
#
|
|
|
|
# This helper is for templates installing python modules.
|
|
|
|
#
|
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
|
|
|
if [ -z "$make_install_args" ]; then
|
2009-12-23 01:06:45 +00:00
|
|
|
make_install_args="--prefix=/usr --root=$DESTDIR"
|
2009-10-18 07:25:16 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
cd ${wrksrc} || return 1
|
|
|
|
sed -i 's|man/man1|share/man/man1|g' setup.py || return 1
|
|
|
|
python setup.py install ${make_install_args} || return 1
|
|
|
|
}
|