⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rng-tools.spec

📁 coldfire MCF5445X基于unix平台的BSP
💻 SPEC
字号:
%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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -