pkg_pil_custmain () { cd libImaging ./configure make cd .. python setup.py build python setup.py install } custmain="pkg_pil_custmain"