libwebsockets: correct build issue
[scm/bb/meta-tizen.git] / recipes-tizen / Modello-Phone / Modello-Phone.inc
1 DESCRIPTION = "A proof of concept pure html5 UI"
2 HOMEPAGE = "http://nohomepage.org"
3 SECTION = "Applications/System"
4 LICENSE = "Apache 2.0"
5
6 SRC_URI = ""
7
8 S = "${WORKDIR}/git"
9
10 inherit autotools-brokensep
11
12 BBCLASSEXTEND = ""
13 PROVIDES = ""
14
15 #PROVIDES by Modello_Phone
16 PROVIDES += "Modello_Phone"
17
18
19 RDEPENDS = ""
20 #RDEPENDS of Modello_Phone (Modello_Phone)
21 RDEPENDS_Modello_Phone += "phoned"
22 RDEPENDS_Modello_Phone += "Modello_Common"
23
24
25 DEPENDS = ""
26 #DEPENDS of Modello_Phone
27 DEPENDS += "zip"
28
29 do_prep() {
30  cd ${S}
31  chmod -Rf a+rX,u+w,g-w,o-w ${S}
32  #setup -q -n Modello_Phone-0.0.2
33  
34  
35 }
36 do_patch_append() {
37     bb.build.exec_func('do_prep', d)
38 }
39
40 do_configure() {
41 }
42
43 do_compile() {
44  cd ${S}
45  LANG=C
46  export LANG
47  unset DISPLAY
48  LD_AS_NEEDED=1; export LD_AS_NEEDED ;
49  
50  
51  make wgtPkg
52  
53  
54  
55 }
56
57 do_install() {
58  echo export RPM_BUILD_ROOT=${D}
59  cd ${S}
60  LANG=C
61  export LANG
62  unset DISPLAY
63  rm -rf ${D}
64  mkdir -p ${D}
65  
66  rm -rf ${D}
67  
68    oe_runmake \
69          DESTDIR=${D} \
70          INSTALL_ROOT=${D} \
71          BINDIR=${prefix}/bin \
72    install  
73    rm -f ${D}${infodir}/dir 
74    find ${D} -regex ".*\.la$" | xargs rm -f -- 
75    find ${D} -regex ".*\.a$" | xargs rm -f --
76  
77  
78 }
79
80 PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale"
81 PACKAGES += " Modello_Phone "
82
83 Modello_Phone_files = ""
84 Modello_Phone_files += "/opt/usr/apps/.preinstallWidgets/Modello_Phone.wgt"
85 Modello_Phone_files += "/opt/usr/apps/_common/icons/Phone_icon.png"
86
87 FILES_Modello_Phone = "${Modello_Phone_files}"
88
89 PKG_Modello_Phone= "Modello_Phone"
90
91 require Modello-Phone-extraconf.inc
92