1 DESCRIPTION = "Telephony client API library"
2 HOMEPAGE = "http://nohomepage.org"
3 SECTION = "Telephony/Libraries"
10 inherit autotools-brokensep
18 #PROVIDES by libtapi3-dev
22 #RDEPENDS of libtapi3-dev (${PN}3-dev)
23 RDEPENDS_${PN}3-dev += "libtapi3"
28 DEPENDS_append_class-native = " cmake-native"
29 DEPENDS_append_class-target = " cmake-native"
31 DEPENDS += "security-server"
34 DEPENDS += "python-xml"
38 chmod -Rf a+rX,u+w,g-w,o-w ${S}
40 cp ${S}/packaging/libtapi.manifest .
45 bb.build.exec_func('do_prep', d)
56 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 -I%_fmoddir}" ; export FFLAGS ;
59 LD_AS_NEEDED=1; export LD_AS_NEEDED ;
62 CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ;
63 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
64 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export FFLAGS ;
66 -DCMAKE_VERBOSE_MAKEFILE=ON \
67 -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \
68 -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \
69 -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \
70 -DLIB_INSTALL_DIR:PATH=${prefix}/lib \
71 -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \
72 -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \
73 -DCMAKE_SKIP_RPATH:BOOL=ON \
74 -DBUILD_SHARED_LIBS:BOOL=ON . -DTAPI_VERSION=3.0.1
83 echo export RPM_BUILD_ROOT=${D}
95 BINDIR=${prefix}/bin \
97 rm -f ${D}${infodir}/dir
98 find ${D} -regex ".*\.la$" | xargs rm -f --
99 find ${D} -regex ".*\.a$" | xargs rm -f --
104 PACKAGES += " libtapi3 "
105 PACKAGES += " libtapi3-dev "
108 libtapi3_files += "libtapi.manifest"
109 libtapi3_files += "${prefix}/lib/*.so*"
110 libtapi3_files += "${prefix}/bin/tapitest"
112 libtapi3-dev_files = ""
113 libtapi3-dev_files += "libtapi.manifest"
114 libtapi3-dev_files += "${prefix}/include/tapi-3.0/*.h"
115 libtapi3-dev_files += "${prefix}/include/tapi-3.0/common/*.h"
116 libtapi3-dev_files += "${prefix}/include/tapi-3.0/private/*.h"
117 libtapi3-dev_files += "${prefix}/lib/pkgconfig/*.pc"
118 libtapi3-dev_files += "${prefix}/lib/*.so"
120 FILES_${PN} = "${libtapi3_files}"
121 FILES_${PN}-dev = "${libtapi3-dev_files}"
123 PKG_libtapi3= "libtapi3"
124 PKG_libtapi3-dev= "libtapi3-dev"
126 require libtapi-extraconf.inc