1 DESCRIPTION = "The GNU Parser Generator"
2 HOMEPAGE = "http://www.gnu.org/software/bison/bison.html"
3 SECTION = "Development/Languages/C and C++"
14 RPROVIDES_bison += "bison"
17 #RDEPENDS of bison (${PN})
18 RDEPENDS_${PN} += "m4"
26 chmod -Rf a+rX,u+w,g-w,o-w ${S}
28 cp ${S}/packaging/bison.manifest .
40 CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ;
41 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
42 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
43 LD_AS_NEEDED=1; export LD_AS_NEEDED ;
46 CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ;
47 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
48 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
49 autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \
50 --target=x86_64-tizen-linux \
57 --datadir=/usr/share \
58 --includedir=/usr/include \
60 --libexecdir=/usr/libexec \
61 --localstatedir=/var \
62 --sharedstatedir=/usr/com \
63 --mandir=/usr/share/man \
64 --infodir=/usr/share/info --disable-nls
75 echo export RPM_BUILD_ROOT=${D}
88 rm -f ${D}/usr/share/info/dir
89 find ${D} -regex ".*\.la$" | xargs rm -f --
99 bison_files += "bison.manifest"
100 bison_files += "/usr/share/aclocal"
101 bison_files += "/usr/bin/bison"
102 bison_files += "/usr/bin/yacc"
103 bison_files += "/usr/lib/liby.a"
104 bison_files += "/usr/share/bison"
105 bison_files += "/usr/share/aclocal"
106 bison_files += "/usr/share/aclocal/bison-i18n.m4"
107 bison_files += "/usr/share/info/bison.info*.gz"
108 bison_files += "/usr/share/man/man1/bison.1.gz"
109 bison_files += "/usr/share/man/man1/yacc.1.gz"
111 FILES_${PN} = "${bison_files}"
115 require bison-extraconf.inc