PLATFORM_IF_MATCH(linux) PLATFORM_ELSE PLATFORM_ENDIF /usr/local/lib/bcfg2/bin/python setup.py build_ext \ -I/usr/local/lib/bcfg2/include \ -L/usr/local/lib/bcfg2/lib \ -L/usr/local/lib/bcfg2/lib/python2.4/site-packages /usr/local/lib/bcfg2/bin/python setup.py build \ --build-base=${builddir}/build /usr/local/lib/bcfg2/bin/python setup.py install \ --prefix=${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2 \ /usr/local/lib/bcfg2/bin/python setup.py clean --all # 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-apt - python interface to libapt-pkg