1 DESCRIPTION = "String key-val dictionary ADT"
2 HOMEPAGE = "http://nohomepage.org"
3 SECTION = "System/Libraries"
4 LICENSE = "Apache License, Version 2.0"
10 inherit autotools-brokensep
15 #PROVIDES by bundle-dev
22 #RDEPENDS of bundle-dev (${PN}-dev)
23 RDEPENDS_${PN}-dev += "bundle"
28 DEPENDS_append_class-native = " cmake-native"
29 DEPENDS_append_class-target = " cmake-native"
35 chmod -Rf a+rX,u+w,g-w,o-w ${S}
36 #setup -q -n bundle-0.1.31
37 cp ${S}/packaging/bundle.manifest .
43 bb.build.exec_func('do_prep', d)
54 CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ;
55 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
56 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
57 LD_AS_NEEDED=1; export LD_AS_NEEDED ;
60 CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ;
61 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
62 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export FFLAGS ;
64 -DCMAKE_VERBOSE_MAKEFILE=ON \
65 -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \
66 -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \
67 -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \
68 -DLIB_INSTALL_DIR:PATH=${prefix}/lib \
69 -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \
70 -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \
71 -DCMAKE_SKIP_RPATH:BOOL=ON \
72 -DBUILD_SHARED_LIBS:BOOL=ON .
80 echo export RPM_BUILD_ROOT=${D}
92 BINDIR=${prefix}/bin \
94 rm -f ${D}${infodir}/dir
95 find ${D} -regex ".*\.la$" | xargs rm -f --
96 find ${D} -regex ".*\.a$" | xargs rm -f --
102 bundle-dev_files = ""
103 bundle-dev_files += "bundle.manifest"
104 bundle-dev_files += "${prefix}/include/bundle.h"
105 bundle-dev_files += "${prefix}/include/SLP_bundle_PG.h"
106 bundle-dev_files += "${prefix}/lib/pkgconfig/bundle.pc"
107 bundle-dev_files += "${prefix}/lib/libbundle.so"
110 bundle_files += "bundle.manifest"
111 bundle_files += "${prefix}/lib/libbundle.so.*"
113 FILES_${PN}-dev = "${bundle-dev_files}"
114 FILES_${PN} = "${bundle_files}"
116 PKG_bundle-dev= "bundle-dev"
119 require bundle-extraconf.inc