]> code.ossystems Code Review - openembedded-core.git/commit
create-recipe: update re pattern and output
authorKang Kai <kai.kang@windriver.com>
Thu, 1 Nov 2012 02:44:56 +0000 (10:44 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 2 Nov 2012 16:15:30 +0000 (16:15 +0000)
commit17f09ab713acc814ec0561b1c41fa87d9bf7b83f
tree25630befb8bbf625edcf323c59220f1342f6f051
parent2bda4bbda3f3033cfb324778ef88f2aedad4a83b
create-recipe: update re pattern and output

In the URL, there may be more than just digits in the version section,
something like xz 5.1.2alpha. Update RE pattern to catch all the string
after package name and before '.tar' in URL as package version.

And error message which has been sent to /dev/null still shows on Ubuntu
12.10 with perl 5.14. Update the way to find source tar file to eraser
the error message.

configure files may rewrite the version section, and that is not necessary.
Test when version section has been set, omit the version value from
configure files.

And tweak for output to bb file.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
scripts/create-recipe