1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 groups = Development/Tools
11 url = http://www.gnu.org/software/bison/
13 summary = GNU Bison is a parser generator.
16 Bison is a general-purpose parser generator that converts an annotated \
17 context-free grammar into an LALR(1) or GLR parser for that grammar.
20 source_dl = http://ftp.gnu.org/gnu/bison/
29 echo '#define YYENABLE_NLS 1' >> lib/config.h
34 gcc -shared -Wl,-soname,liby.so.%{version} \
35 -o liby.so.%{version} %{CFLAGS} main.o yyerror.o
43 mkdir -pv %{BUILDROOT}%{libdir}
45 install -v liby.so.%{version} %{BUILDROOT}%{libdir}/liby.so.%{version}
46 ln -vsf liby.so.%{version} %{BUILDROOT}%{libdir}/liby.so.2
47 ln -vsf liby.so.2 %{BUILDROOT}%{libdir}/liby.so
56 package %{name}-debuginfo