#!/bin/sh
if [ "$2" != POST-INSTALL ] ; then
exit 0
fi
INCLUDEDIR=/usr/include
install -d ${PKG_PREFIX}/lib/perl5/site_perl/5.8.0/mach
cd ${INCLUDEDIR} && ${PKG_PREFIX}/bin/h2ph *.h machine/*.h sys/*.h