1 DESCRIPTION = "Common header files of Tizen Native API"
2 HOMEPAGE = "http://nohomepage.org"
10 inherit autotools-brokensep
14 #PROVIDES by capi-base-common-dev
17 #PROVIDES by capi-base-common
21 #RDEPENDS of capi-base-common-dev (capi-base-${PN}-dev)
22 RDEPENDS_capi-base-${PN}-dev += "capi-base-common"
26 #DEPENDS of capi-base-common
27 DEPENDS_append_class-native = " cmake-native"
28 DEPENDS_append_class-target = " cmake-native"
32 chmod -Rf a+rX,u+w,g-w,o-w ${S}
34 cp ${S}/packaging/capi-base-common.manifest .
39 bb.build.exec_func('do_prep', d)
50 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 LD_AS_NEEDED=1; export LD_AS_NEEDED ;
56 CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ;
57 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
58 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export FFLAGS ;
60 -DCMAKE_VERBOSE_MAKEFILE=ON \
61 -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \
62 -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \
63 -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \
64 -DLIB_INSTALL_DIR:PATH=${prefix}/lib \
65 -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \
66 -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \
67 -DCMAKE_SKIP_RPATH:BOOL=ON \
68 -DBUILD_SHARED_LIBS:BOOL=ON .
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 --
97 PACKAGES += " capi-base-common-dev "
98 PACKAGES += " capi-base-common "
100 capi-base-common-dev_files = ""
101 capi-base-common-dev_files += "capi-base-common.manifest"
102 capi-base-common-dev_files += "${prefix}/include/*.h"
103 capi-base-common-dev_files += "${prefix}/lib/pkgconfig/capi-base-common.pc"
105 capi-base-common_files = ""
106 capi-base-common_files += "capi-base-common.manifest"
108 FILES_${PN}-dev = "${capi-base-common-dev_files}"
109 FILES_${PN} = "${capi-base-common_files}"
111 PKG_capi-base-common-dev= "capi-base-common-dev"
112 PKG_capi-base-common= "capi-base-common"
114 require common-extraconf.inc