1 DESCRIPTION = "Ragel State Machine Compiler"
2 HOMEPAGE = "http://nohomepage.org"
3 SECTION = "System/Utilities"
14 RPROVIDES_ragel += "ragel"
21 chmod -Rf a+rX,u+w,g-w,o-w ${S}
23 cp ${S}/packaging/ragel.manifest .
35 CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ;
36 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
37 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
38 LD_AS_NEEDED=1; export LD_AS_NEEDED ;
41 CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ;
42 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
43 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
44 ./autogen.sh --build=${TARGET_SYS} --host=${HOST_SYS} \
45 --target=x86_64-tizen-linux \
52 --datadir=/usr/share \
53 --includedir=/usr/include \
55 --libexecdir=/usr/libexec \
56 --localstatedir=/var \
57 --sharedstatedir=/usr/com \
58 --mandir=/usr/share/man \
59 --infodir=/usr/share/info.sh
61 CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ;
62 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
63 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
64 autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \
65 --target=x86_64-tizen-linux \
72 --datadir=/usr/share \
73 --includedir=/usr/include \
75 --libexecdir=/usr/libexec \
76 --localstatedir=/var \
77 --sharedstatedir=/usr/com \
78 --mandir=/usr/share/man \
79 --infodir=/usr/share/info --prefix=/usr
89 echo export RPM_BUILD_ROOT=${D}
103 rm -f ${D}/usr/share/info/dir
104 find ${D} -regex ".*\.la$" | xargs rm -f --
105 find ${D} -regex ".*\.a$" | xargs rm -f --
108 rm -rf ${D}/usr/share/info
109 rm -rf ${D}/usr/share/doc/packages
110 rm -rf ${D}/usr/share/doc/ragel
111 rm -rf ${D}/usr/share/doc/ragel-6.6
112 rm -rf ${D}/usr/share/gtk-doc
113 rm -rf ${D}/usr/share/doc
114 rm -rf ${D}/usr/share/man
115 find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f --
116 find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f --
117 find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f --
126 ragel_files += "ragel.manifest"
127 ragel_files += "ragel.manifest"
128 ragel_files += "/usr/bin/ragel"
130 FILES_${PN} = "${ragel_files}"
134 require ragel-extraconf.inc