PLATFORM_IF_MATCH(linux)
PLATFORM_ELSE
PLATFORM_ENDIF
./configure \
--prefix="${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2" \
--without-iconv \
PLATFORM_IF_MATCH(aix)
PLATFORM_ELSE
--enable-shared \
PLATFORM_ENDIF
--with-crypto=no \
--with-libxml-prefix=/usr/local/lib/bcfg2 \
--with-libxml-include-prefix=/usr/local/lib/bcfg2/include \
--with-libxml-libs-prefix=/usr/local/lib/bcfg2/lib \
--enable-ipv6=no \
--with-python=/usr/local/lib/bcfg2 \
--with-zlib=/usr/local/lib/bcfg2
# Remove doc - it's big # not any more - server only
#if [ -d lib/bcfg2/share/doc ]; then rm -rf lib/bcfg2/share/doc; fi
# Put python stuff in the right place
mv lib/bcfg2/lib/lib/python2.4 lib/bcfg2/lib
rmdir lib/bcfg2/lib/lib
# 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 libxslt - XSLT C processing library