1 DESCRIPTION = "App Checker"
2 HOMEPAGE = "http://nohomepage.org"
3 SECTION = "System/Libraries"
4 LICENSE = "Apache License, Version 2.0"
10 inherit autotools-brokensep
14 #PROVIDES by app-checker-server-dev
17 #PROVIDES by app-checker-dev
20 #PROVIDES by app-checker
23 #PROVIDES by app-checker-server
27 #RDEPENDS of app-checker-server-dev (${PN}-server-dev)
28 RDEPENDS_${PN}-server-dev += "app-checker-server"
30 #RDEPENDS of app-checker-dev (${PN}-dev)
31 RDEPENDS_${PN}-dev += "app-checker"
33 #RDEPENDS of app-checker-server (${PN}-server)
34 RDEPENDS_${PN}-server += "app-checker"
38 #DEPENDS of app-checker
39 DEPENDS_append_class-native = " cmake-native"
40 DEPENDS_append_class-target = " cmake-native"
45 chmod -Rf a+rX,u+w,g-w,o-w ${S}
47 cp ${S}/packaging/app-checker.manifest .
53 bb.build.exec_func('do_prep', d)
64 CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ;
65 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
66 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
67 LD_AS_NEEDED=1; export LD_AS_NEEDED ;
71 CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ;
72 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
73 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export FFLAGS ;
75 -DCMAKE_VERBOSE_MAKEFILE=ON \
76 -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \
77 -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \
78 -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \
79 -DLIB_INSTALL_DIR:PATH=${prefix}/lib \
80 -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \
81 -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \
82 -DCMAKE_SKIP_RPATH:BOOL=ON \
83 -DBUILD_SHARED_LIBS:BOOL=ON .
92 echo export RPM_BUILD_ROOT=${D}
105 BINDIR=${prefix}/bin \
107 rm -f ${D}${infodir}/dir
108 find ${D} -regex ".*\.la$" | xargs rm -f --
109 find ${D} -regex ".*\.a$" | xargs rm -f --
110 mkdir -p ${D}${prefix}/lib/ac-plugins
116 PACKAGES += " app-checker-server-dev "
117 PACKAGES += " app-checker-server "
119 app-checker-server-dev_files = ""
120 app-checker-server-dev_files += "app-checker.manifest"
121 app-checker-server-dev_files += "${prefix}/lib/libapp-checker-server.so"
122 app-checker-server-dev_files += "${prefix}/lib/pkgconfig/app-checker-server.pc"
123 app-checker-server-dev_files += "/usr/include/app-checker/app-checker-server.h"
125 app-checker-server_files = ""
126 app-checker-server_files += "app-checker.manifest"
127 app-checker-server_files += "${prefix}/lib/libapp-checker-server.so.0"
128 app-checker-server_files += "${prefix}/lib/libapp-checker-server.so.0.1.0"
130 app-checker_files = ""
131 app-checker_files += "app-checker.manifest"
132 app-checker_files += "${prefix}/lib/libapp-checker.so.0"
133 app-checker_files += "${prefix}/lib/libapp-checker.so.0.1.0"
134 app-checker_files += "${prefix}/lib/ac-plugins"
136 app-checker-dev_files = ""
137 app-checker-dev_files += "app-checker.manifest"
138 app-checker-dev_files += "${prefix}/lib/libapp-checker.so"
139 app-checker-dev_files += "${prefix}/lib/pkgconfig/app-checker.pc"
140 app-checker-dev_files += "/usr/include/app-checker/app-checker.h"
142 FILES_${PN}-server-dev = "${app-checker-server-dev_files}"
143 FILES_${PN}-server = "${app-checker-server_files}"
144 FILES_${PN} = "${app-checker_files}"
145 FILES_${PN}-dev = "${app-checker-dev_files}"
147 PKG_app-checker-server-dev= "app-checker-server-dev"
148 PKG_app-checker-server= "app-checker-server"
149 PKG_app-checker= "app-checker"
150 PKG_app-checker-dev= "app-checker-dev"
152 require app-checker-extraconf.inc