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