1 FILES_${PN} += '${libdir}/perl5'
4 if [ -x ${S}/configure ] ; then
5 cfgcmd="${S}/configure \
7 oenote "Running $cfgcmd..."
8 $cfgcmd || oefatal "oe_runconf failed"
9 if [ "${BUILD_SYS}" != "${HOST_SYS}" ]; then
10 . ${STAGING_DIR}/${TARGET_SYS}/perl/config.sh
11 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
12 mv Makefile.new Makefile
15 oefatal "no configure script found"
20 oe_runmake PASTHRU_INC="${CFLAGS}"
24 oe_runmake install_vendor
27 EXPORT_FUNCTIONS do_configure do_compile do_install