1 DESCRIPTION = "Library That Defines Common Error Values for All GnuPG Components"
2 HOMEPAGE = "http://www.gnupg.org/"
3 SECTION = "Security/Crypto Libraries"
4 LICENSE = "GPL-2.0+ LGPL-2.1+"
12 #PROVIDES by libgpg-error-devel
13 PROVIDES += "libgpg-error-devel"
14 RPROVIDES_libgpg-error-devel += "libgpg-error-devel"
15 RPROVIDES_libgpg-error-devel += "libgpg-error-dev"
17 #PROVIDES by libgpg-error
18 PROVIDES += "libgpg-error"
19 RPROVIDES_libgpg-error += "libgpg-error"
21 #PROVIDES by libgpg-error-locale
22 PROVIDES += "libgpg-error-locale "
23 RPROVIDES_libgpg-error-locale += "libgpg-error-locale "
24 # the PROVIDES rules is ignore "libgpg-error-lang-all = 1.10"
25 PROVIDES += "libgpg-error-lang-all"
26 RPROVIDES_libgpg-error-locale += "libgpg-error-lang-all"
29 #RDEPENDS of libgpg-error-devel (${PN}-devel)
30 RDEPENDS_${PN}-devel += "glibc-dev"
31 RDEPENDS_${PN}-devel += "libgpg-error"
33 #RDEPENDS of libgpg-error-locale (${PN}-locale )
34 RDEPENDS_${PN}-locale += "libgpg-error"
38 #DEPENDS of libgpg-error
39 DEPENDS += "libtool-cross"
40 #Replace "DEPENDS" on gettext by "inherit gettext"
44 chmod -Rf a+rX,u+w,g-w,o-w ${S}
45 #setup -q -n libgpg-error-1.10
46 cp ${S}/packaging/libgpg-error.manifest .
58 CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ;
59 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
60 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
61 LD_AS_NEEDED=1; export LD_AS_NEEDED ;
65 CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ;
66 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
67 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
68 autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \
69 --target=x86_64-tizen-linux \
76 --datadir=/usr/share \
77 --includedir=/usr/include \
79 --libexecdir=/usr/libexec \
80 --localstatedir=/var \
81 --sharedstatedir=/usr/com \
82 --mandir=/usr/share/man \
83 --infodir=/usr/share/info --disable-static --with-pic
91 echo export RPM_BUILD_ROOT=${D}
104 rm -f ${D}/usr/share/info/dir
105 find ${D} -regex ".*\.la$" | xargs rm -f --
106 find ${D} -regex ".*\.a$" | xargs rm -f --
107 rm -r ${D}/usr/share/common-lisp
108 /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} libgpg-error
114 PACKAGES += "libgpg-error-devel"
115 PACKAGES += "libgpg-error-locale"
116 PACKAGES += "libgpg-error"
118 libgpg-error-devel_files = ""
119 libgpg-error-devel_files += "libgpg-error.manifest"
120 libgpg-error-devel_files += "/usr/share/aclocal/gpg-error.m4"
121 libgpg-error-devel_files += "/usr/include/*"
122 libgpg-error-devel_files += "/usr/bin/*"
123 libgpg-error-devel_files += "/usr/lib/libgpg-error*.so"
125 libgpg-error-locale_files = ""
127 libgpg-error_files = ""
128 libgpg-error_files += "libgpg-error.manifest"
129 libgpg-error_files += "GPL-2.0+ ; LGPL-2.1+ ; MIT COPYING.LIB COPYING"
130 libgpg-error_files += "/usr/lib/libgpg-error*.so.*"
132 FILES_${PN}-devel = "${libgpg-error-devel_files}"
133 FILES_${PN}-locale = "${libgpg-error-locale_files}"
134 FILES_${PN} = "${libgpg-error_files}"
136 PKG_libgpg-error-devel= "libgpg-error-devel"
137 PKG_libgpg-error-locale= "libgpg-error-locale"
138 PKG_libgpg-error= "libgpg-error"
140 require libgpg-error-extraconf.inc