On 2012年01月07日 03:18, Joshua Lock wrote:
Hi Joshua,
Hi Kai,
On 06/01/12 01:51, Kang Kai wrote:
This is the design document of "Yocto 1656 Recipe creation/import
script". Please help to review it.
Any suggestion is appreciate.
You should check out autospectacle[1] that I linked to in the bug
report. It does a lot of guessing using clever tricks like searching
Freshmeat, doap files, READMES etc to get a description[2] and
analysing configure.ac[3], qmake[4], etc. to determine dependencies.
Thanks for your reply.
I have checked out and read the autospectacle, and show me the direction.
Right now I want to get the NAME, description, license and checksum,
depends and some simple inheritance, do you think that is enough for
this feature? If not, what's more?
Thanks & Regards,
Kai
The autospectacle perl script is reasonably well commented and quite
readable.
I'm not suggesting we adopt all of the features in it but many of them
are useful techniques for this effort.
Regards,
Joshua
1. https://meego.gitorious.org/meego-developer-tools/autospectacle/
2.
https://meego.gitorious.org/meego-developer-tools/autospectacle/blobs/master/autospectacle.pl#line1001
3.
https://meego.gitorious.org/meego-developer-tools/autospectacle/blobs/master/autospectacle.pl#line633
4.
https://meego.gitorious.org/meego-developer-tools/autospectacle/blobs/master/autospectacle.pl#line840
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto