1 DESCRIPTION = "Application Information Library"
2 HOMEPAGE = "http://nohomepage.org"
3 SECTION = "Application Framework/Libraries"
10 inherit autotools-brokensep
16 # the PROVIDES rules is ignore "libail = 0.2.73-1"
18 RPROVIDES_ail += "libail"
25 #RDEPENDS of ail-dev (${PN}-dev)
26 RDEPENDS_${PN}-dev += "libail"
34 DEPENDS_append_class-native = " cmake-native"
35 DEPENDS_append_class-target = " cmake-native"
37 DEPENDS += "libslp-db-util"
41 chmod -Rf a+rX,u+w,g-w,o-w ${S}
43 cp ${S}/packaging/ail.manifest .
48 bb.build.exec_func('do_prep', d)
59 CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ;
60 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
61 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
62 LD_AS_NEEDED=1; export LD_AS_NEEDED ;
66 CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ;
67 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
68 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export FFLAGS ;
70 -DCMAKE_VERBOSE_MAKEFILE=ON \
71 -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \
72 -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \
73 -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \
74 -DLIB_INSTALL_DIR:PATH=${prefix}/lib \
75 -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \
76 -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \
77 -DCMAKE_SKIP_RPATH:BOOL=ON \
78 -DBUILD_SHARED_LIBS:BOOL=ON . -DBUILD_PKGTYPE=rpm \
88 echo export RPM_BUILD_ROOT=${D}
100 BINDIR=${prefix}/bin \
102 rm -f ${D}${infodir}/dir
103 find ${D} -regex ".*\.la$" | xargs rm -f --
104 find ${D} -regex ".*\.a$" | xargs rm -f --
106 mkdir -p ${D}/opt/dbspace/
107 mkdir -p ${D}/opt/share/applications/
114 ail_files += "ail.manifest"
115 ail_files += "/opt/share/applications"
116 ail_files += "${prefix}/bin/ail_initdb"
117 ail_files += "${prefix}/share/install-info/*"
118 ail_files += "${prefix}/lib/libail.so.0"
119 ail_files += "${prefix}/lib/libail.so.0.1.0"
122 ail-dev_files += "ail.manifest"
123 ail-dev_files += "${prefix}/include/ail.h"
124 ail-dev_files += "${prefix}/lib/libail.so"
125 ail-dev_files += "${prefix}/lib/pkgconfig/ail.pc"
127 FILES_${PN} = "${ail_files}"
128 FILES_${PN}-dev = "${ail-dev_files}"
131 PKG_ail-dev= "ail-dev"
133 require ail-extraconf.inc