rng-tools.spec

来自「coldfire MCF5445X基于unix平台的BSP」· SPEC 代码 · 共 53 行

SPEC
53
字号
%define pfx /opt/freescale/rootfs/%{_target_cpu}%define argp_ver 1.3Summary         : rngd - Check and feed random data from hardware device to kernel random deviceName            : rng-toolsVersion         : 2Release         : 1License         : GPLVendor          : FreescalePackager        : Kim PhillipsGroup           : System Environment/DaemonsSource          : %{name}-%{version}.tar.gzSource1         : argp-standalone-%{argp_ver}.tar.gzPatch0          : argp-standalone-1.3-throw.patchBuildRoot       : %{_tmppath}/%{name}Prefix          : %{pfx}%Description%{summary}%Prep%setup -a 1 %patch0%Buildif [ -n "$UCLIBC" ]then    cd argp-standalone-%{argp_ver}    ./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build}    make    cd -    CFLAGS="-O2 -Iargp-standalone-%{argp_ver}" \    LDFLAGS="-Largp-standalone-%{argp_ver}" \    LIBS="-largp" \    ./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build}    makeelse    ./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build}    makefi%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 + -
显示快捷键?