command += " --define='setup #setup'"
command += " --define='buildroot ${D}'"
command += " --define='_target_cpu %s'" % cpu
-
+# command += " --define='_program_prefix ${program_prefix}'"
+ command += " --define='_prefix ${prefix}'"
+ command += " --define='_exec_prefix ${exec_prefix}'"
+ command += " --define='_bindir ${bindir}'"
+ command += " --define='_sbindir ${sbindir}'"
+ command += " --define='_sysconfdir ${sysconfdir}'"
+ command += " --define='_datadir ${datadir}'"
+ command += " --define='_includedir ${includedir}'"
+ command += " --define='_libdir ${libdir}'"
+ command += " --define='_libexecdir ${libexecdir}'"
+ command += " --define='_localstatedir ${localstatedir}'"
+ command += " --define='_sharedstatedir ${sharedstatedir}'"
+ command += " --define='_mandir ${mandir}'"
+ command += " --define='_infodir ${infodir}'"
+
+
patchs=findPatch(package_spec_path)
for p in patchs:
do_compile_prepend () {
echo RLM do_compile_prepend
mkdir -p ${S}/../temp
+
create-package-initial "compile" ${S}/${SPECFILES} > ${S}/../temp/Bash_compile
+
cd ${S}
}
do_install_prepend () {
echo RLM do_install_prepend
mkdir -p ${S}/../temp
-create-package-initial "compile" ${S}/${SPECFILES} > ${S}/../temp/Bash_install
+echo export D=${D} > ${S}/../temp/Bash_install
+create-package-initial "install" ${S}/${SPECFILES} >> ${S}/../temp/Bash_install
cd ${S}
}