netperf.spec
来自「coldfire MCF5445X基于unix平台的BSP」· SPEC 代码 · 共 39 行
SPEC
39 行
%define pfx /opt/freescale/rootfs/%{_target_cpu}Summary : Netperf is a benchmark that can be used to measure the performance of many different types of networkingName : netperfVersion : 2.4.0Release : 1License : DistributableVendor : FreescalePackager : Kim PhillipsGroup : Development/ToolsSource : %{name}-%{version}.tar.gzPatch1 : netperf-2.4.0-mixed_endian_fp.patchBuildRoot : %{_tmppath}/%{name}Prefix : %{pfx}%Description%{summary}%Prep%setup %patch1 -p1%Buildac_cv_func_setpgrp_void=yes ac_cv_func_sched_setaffinity=no \./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build}make%Installrm -rf $RPM_BUILD_ROOTmake install DESTDIR=$RPM_BUILD_ROOT/%{pfx}%Cleanrm -rf $RPM_BUILD_ROOT%Files%defattr(-,root,root)%{pfx}/*
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?