1 DESCRIPTION = "A Location Route library in Tizen Native API"
2 HOMEPAGE = "http://nohomepage.org"
12 #PROVIDES by capi-location-route
13 PROVIDES += "capi-location-route"
14 RPROVIDES_capi-location-route += "capi-location-route"
16 #PROVIDES by capi-location-route-devel
17 PROVIDES += "capi-location-route-devel"
18 RPROVIDES_capi-location-route-devel += "capi-location-route-devel"
19 RPROVIDES_capi-location-route-devel += "capi-location-route-dev"
22 #RDEPENDS of capi-location-route-devel (capi-location-${PN}-devel)
23 RDEPENDS_capi-location-${PN}-devel += "capi-location-route"
27 #DEPENDS of capi-location-route
28 DEPENDS += "pkgconfig(location)"
31 DEPENDS += "pkgconfig(capi-location-manager)"
35 chmod -Rf a+rX,u+w,g-w,o-w ${S}
37 cp ${S}/packaging/capi-location-route.manifest .
49 CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ;
50 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
51 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
52 LD_AS_NEEDED=1; export LD_AS_NEEDED ;
54 MAJORVER=`echo 0.1.4 | awk 'BEGIN {FS="."}{print $1}'`
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=/usr \
62 -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \
63 -DINCLUDE_INSTALL_DIR:PATH=/usr/include \
64 -DLIB_INSTALL_DIR:PATH=/usr/lib \
65 -DSYSCONF_INSTALL_DIR:PATH=/etc \
66 -DSHARE_INSTALL_PREFIX:PATH=/usr/share \
67 -DCMAKE_SKIP_RPATH:BOOL=ON \
68 -DBUILD_SHARED_LIBS:BOOL=ON \
69 -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake . -DFULLVER=0.1.4 -DMAJORVER=${MAJORVER}
79 echo export RPM_BUILD_ROOT=${D}
92 rm -f ${D}/usr/share/info/dir
93 find ${D} -regex ".*\.la$" | xargs rm -f --
94 find ${D} -regex ".*\.a$" | xargs rm -f --
100 PACKAGES += "capi-location-route"
101 PACKAGES += "capi-location-route-devel"
103 capi-location-route_files = ""
104 capi-location-route_files += "capi-location-route.manifest"
105 capi-location-route_files += "/usr/lib/libcapi-location-route.so.*"
107 capi-location-route-devel_files = ""
108 capi-location-route-devel_files += "capi-location-route.manifest"
109 capi-location-route-devel_files += "/usr/include/location/*.h"
110 capi-location-route-devel_files += "/usr/lib/pkgconfig/*.pc"
111 capi-location-route-devel_files += "/usr/lib/libcapi-location-route.so"
113 FILES_${PN} = "${capi-location-route_files}"
114 FILES_${PN}-devel = "${capi-location-route-devel_files}"
116 PKG_capi-location-route= "capi-location-route"
117 PKG_capi-location-route-devel= "capi-location-route-devel"
119 require route-extraconf.inc