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
14 #PROVIDES by tizen-platform-wrapper
18 #RDEPENDS of tizen-platform-wrapper (${PN})
19 RDEPENDS_${PN} += "gperf"
26 chmod -Rf a+rX,u+w,g-w,o-w ${S}
28 cp ${S}/packaging/tizen-platform-wrapper.manifest .
33 bb.build.exec_func('do_prep', d)
44 CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ;
45 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
46 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
47 LD_AS_NEEDED=1; export LD_AS_NEEDED ;
50 CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ;
51 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
52 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
53 autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \
54 --target=x86_64-tizen-linux \
57 --exec-prefix=${prefix} \
58 --bindir=${prefix}/bin \
59 --sbindir=${prefix}/sbin \
60 --sysconfdir=${sysconfdir} \
61 --datadir=${prefix}/share \
62 --includedir=${prefix}/include \
63 --libdir=${prefix}/lib \
64 --libexecdir=${prefix}/libexec \
65 --localstatedir=${localstatedir} \
66 --sharedstatedir=${prefix}/com \
76 echo export RPM_BUILD_ROOT=${D}
88 BINDIR=${prefix}/bin \
90 rm -f ${D}${infodir}/dir
91 find ${D} -regex ".*\.la$" | xargs rm -f --
92 find ${D} -regex ".*\.a$" | xargs rm -f --
98 tizen-platform-wrapper_files = ""
99 tizen-platform-wrapper_files += "tizen-platform-wrapper.manifest"
100 tizen-platform-wrapper_files += "${prefix}/bin/*"
101 tizen-platform-wrapper_files += "${prefix}/share/tizen-platform-wrapper/*"
102 tizen-platform-wrapper_files += "${prefix}/lib/pkgconfig/tizen-platform-wrapper.pc"
104 FILES_${PN} = "${tizen-platform-wrapper_files}"
106 PKG_tizen-platform-wrapper= "tizen-platform-wrapper"
108 require tizen-platform-wrapper-extraconf.inc