52 Patch0: snmp.patch |
52 Patch0: snmp.patch |
53 Patch1: snmp_agentx.patch |
53 Patch1: snmp_agentx.patch |
54 Patch2: snmp_iface.patch |
54 Patch2: snmp_iface.patch |
55 |
55 |
56 # build information |
56 # build information |
57 BuildPreReq: OpenPKG, openpkg >= 20100101, gcc |
57 BuildPreReq: OpenPKG, openpkg >= 20100101, gcc, make |
58 PreReq: OpenPKG, openpkg >= 20100101 |
58 PreReq: OpenPKG, openpkg >= 20100101 |
59 BuildPreReq: openssl |
59 BuildPreReq: openssl |
60 PreReq: openssl |
60 PreReq: openssl |
61 %if "%{with_fsl}" == "yes" |
61 %if "%{with_fsl}" == "yes" |
62 BuildPreReq: fsl |
62 BuildPreReq: fsl |
167 --disable-embedded-perl \ |
167 --disable-embedded-perl \ |
168 %endif |
168 %endif |
169 --with-defaults |
169 --with-defaults |
170 |
170 |
171 # build package |
171 # build package |
172 %{l_make} %{l_mflags} touchit |
172 %{l_make} %{l_mflags -O} touchit |
173 %{l_make} %{l_mflags} |
173 %{l_make} %{l_mflags -O} |
174 |
174 |
175 %install |
175 %install |
176 # install package |
176 # install package |
177 %{l_shtool} subst -v \ |
177 %{l_shtool} subst -v \ |
178 -e "s;^\\(prefix.*=\\).*;\\1 $RPM_BUILD_ROOT%{l_prefix};g" \ |
178 -e "s;^\\(prefix.*=\\).*;\\1 $RPM_BUILD_ROOT%{l_prefix};g" \ |