Correct post/pre scripts extraction
[scm/bb/tizen.git] / README.md
1 # spec2yocto
2
3
4 ## Installation
5
6 ### Go to your work directory:
7
8         cd /your/work/directory
9
10 ### Define the YOCTO_WORKDIR environment variable:
11
12         export YOCTO_WORKDIR=<path_to_your_workdir>
13
14 ### Clone this project
15
16         git clone https://github.com/eurogiciel-oss/yoctoTizen.git
17
18 ### Copy .spec2yoctorc to your home directory
19
20         cp yoctoTizen/proto-meta-Tizen_generic/.spec2yoctorc ~/
21
22 ### Create a symbolic link to spec2yocto.py in a directory of your ${PATH}
23
24         ln -s /bindir/spec2yocto ${YOCTO_WORKDIR}/yoctoTizen/tools/spec2yocto.py <path_to_your_bindir>/spec2yocto
25
26 ### Create a spec2yocto directory in /usr/share
27
28         sudo mkdir /usr/share/spec2yocto
29
30 ### Create a symbolic link to roto-meta-Tizen_generic/rpm_tizen_macro/ in /usr/share/spec2yocto/macro
31
32         sudo ln -s /home/kthierry/yocto/yoctoTizen/proto-meta-Tizen_generic/rpm_tizen_macro/ /usr/share/spec2yocto/macro
33
34 ### Execute gitCloneAll.sh
35
36         ./tools/gitCloneAll.sh
37
38 ## Using spec2yocto
39
40 TO DO
41
42 ## License
43
44 GPL v2