PLATFORM_IF_MATCH(linux) PLATFORM_ELSE PLATFORM_ENDIF /usr/local/lib/bcfg2/bin/python setup.py build_ext \ --openssl=/usr/local/lib/bcfg2 \ -I/usr/local/lib/bcfg2/include/openssl \ -I/usr/local/lib/bcfg2/include \ -L/usr/local/lib/bcfg2/lib/ /usr/local/lib/bcfg2/bin/python setup.py build \ --build-base=${builddir}/build test -d ${ENCAP_SOURCE} || mkdir ${ENCAP_SOURCE} test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME} || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME} test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2 || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2 test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4 || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4 test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages PYTHONPATH="${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages" /usr/local/lib/bcfg2/bin/python setup.py install \ --prefix=${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2 \ --single-version-externally-managed \ --record ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/python-install.log /usr/local/lib/bcfg2/bin/python setup.py clean # Make "this encap is installed" sentinal file available in /usr/local/var/encap test -d var || mkdir var test -d var/encap || mkdir var/encap touch var/encap/${ENCAP_PKGNAME} description m2crypto - a crypto and SSL toolkit for Python exclude lib/bcfg2/lib/python2.4/site-packages/site.py exclude lib/bcfg2/lib/python2.4/site-packages/site.pyc exclude lib/bcfg2/lib/python2.4/site-packages/easy-install.pth