ppp.spec

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

SPEC
45
字号
%define pfx /opt/freescale/rootfs/%{_target_cpu}Summary         : Point-to-Point Protocol daemonName            : pppVersion         : 2.4.4Release         : 1License         : BSD-like and GPL and Public DomainVendor          : FreescalePackager        : Michael BarkowskiGroup           : System Environment/DaemonsSource          : %{name}-%{version}.tar.gzPatch0          : ppp-2.4.4-header-checks-filter-off-df546d4c.patchBuildRoot       : %{_tmppath}/%{name}Prefix          : %{pfx}%Description%{summary}%Prep%setup %patch0 -p1%Build./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build} --mandir=%{_mandir}if [ "$PKG_PPP_WANT_FILTER" = "y" ]then    echo "Including support for PPP packet filtering.  Requires libpcap and kernel driver support."    make -j1 FILTER=yelse    make -j1fi%Installrm -rf $RPM_BUILD_ROOTmake -j1 install INSTALL=install DESTDIR=$RPM_BUILD_ROOT/%{pfx}mkdir -p $RPM_BUILD_ROOT/%{pfx}/var/lock%Cleanrm -rf $RPM_BUILD_ROOT%Files%defattr(-,root,root)%{pfx}/*

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?