1 DESCRIPTION = "A toolkit to generate the libtizen-platform-config library"
2 HOMEPAGE = "http://www.tizen.org"
3 SECTION = "Development/Tools"
10 inherit autotools-brokensep
15 #PROVIDES by tizen-platform-wrapper
19 #RDEPENDS of tizen-platform-wrapper (${PN})
20 RDEPENDS_${PN} += "gperf"
27 chmod -Rf a+rX,u+w,g-w,o-w ${S}
29 cp ${S}/packaging/tizen-platform-wrapper.manifest .
34 bb.build.exec_func('do_prep', d)
45 CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ;
46 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
47 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
48 LD_AS_NEEDED=1; export LD_AS_NEEDED ;
51 CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ;
52 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
53 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
54 autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \
55 --target=x86_64-tizen-linux \
58 --exec-prefix=${prefix} \
59 --bindir=${prefix}/bin \
60 --sbindir=${prefix}/sbin \
61 --sysconfdir=${sysconfdir} \
62 --datadir=${prefix}/share \
63 --includedir=${prefix}/include \
64 --libdir=${prefix}/lib \
65 --libexecdir=${prefix}/libexec \
66 --localstatedir=${localstatedir} \
67 --sharedstatedir=${prefix}/com \
77 echo export RPM_BUILD_ROOT=${D}
89 BINDIR=${prefix}/bin \
91 rm -f ${D}${infodir}/dir
92 find ${D} -regex ".*\.la$" | xargs rm -f --
93 find ${D} -regex ".*\.a$" | xargs rm -f --
99 tizen-platform-wrapper_files = ""
100 tizen-platform-wrapper_files += "tizen-platform-wrapper.manifest"
101 tizen-platform-wrapper_files += "${prefix}/bin/*"
102 tizen-platform-wrapper_files += "${prefix}/share/tizen-platform-wrapper/*"
103 tizen-platform-wrapper_files += "${prefix}/lib/pkgconfig/tizen-platform-wrapper.pc"
105 FILES_${PN} = "${tizen-platform-wrapper_files}"
107 PKG_tizen-platform-wrapper= "tizen-platform-wrapper"
109 require tizen-platform-wrapper-extraconf.inc