#!/bin/sh

if [ "$2" != POST-INSTALL ] ; then
	exit 0
fi

INCLUDEDIR=/usr/include

install -d ${PKG_PREFIX}/lib/perl5/site_perl/5.6.1/mach
cd ${INCLUDEDIR} && ${PKG_PREFIX}/bin/h2ph *.h machine/*.h sys/*.h


exit 0