PLATFORM_IF_MATCH(linux) PLATFORM_ELSE PLATFORM_ENDIF cat setup.py \ | sed s:\/usr\/local\/:\/usr\/local\/lib\/bcfg2\/:g \ | sed s:\/usr\/local\/lib\/bcfg2\/ssl\/include:\/usr\/local\/lib\/bcfg2\/include:g \ | sed s:\/usr\/contrib\/ssl\/include\/:\/usr\/local\/lib\/bcfg2\/include\/openssl\/:g \ | sed s:\/usr\/local\/lib\/bcfg2\/ssl\/lib:\/usr\/local\/lib\/bcfg2\/lib:g \ > setup.py.bcfg2 mv setup.py setup.py.orig cp setup.py.bcfg2 setup.py ./configure \ --prefix="${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2" \ PLATFORM_IF_MATCH(linux) PLATFORM_ELSE --with-gcc \ --with-cxx=g++ \ PLATFORM_ENDIF --enable-shared=yes \ --disable-ipv6 lib/bcfg2/lib/python2.4/site-packages/usr-local-lib-bcfg2.pth mkdir bin 2>/dev/null || exit 0 ln -sf ../lib/bcfg2/bin/idle bin/b2-idle ln -sf ../lib/bcfg2/bin/pydoc bin/b2-pydoc ln -sf ../lib/bcfg2/bin/python bin/b2-python # 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 python - scripting language