FILES_${PN} += '${libdir}/perl5'
cpan_do_configure () {
perl Makefile.PL
if [ "${BUILD_SYS}" != "${HOST_SYS}" ]; then
. ${STAGING_DIR}/${TARGET_SYS}/perl/config.sh
sed -e "s:\(SITELIBEXP = \).*:\1${sitelibexp}:; s:\(SITEARCHEXP = \).*:\1${sitearchexp}:; s:\(INSTALLVENDORLIB = \).*:\1${D}${libdir}/perl5:; s:\(INSTALLVENDORARCH = \).*:\1${D}${libdir}/perl5:" < Makefile > Makefile.new
mv Makefile.new Makefile
fi
}
cpan_do_compile () {
oe_runmake PASTHRU_INC="${CFLAGS}"
}
cpan_do_install () {
oe_runmake install_vendor
}
EXPORT_FUNCTIONS do_configure do_compile do_install
nction(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-58643691-1', 'auto');
ga('send', 'pageview');
blob: 7d5efc1cb3ae19af20890633c43b069c3f927b4d (
plain)