📄 pcmciautils.spec
字号:
%define pfx /opt/freescale/rootfs/%{_target_cpu}Summary : PCMCIA utilitiesName : pcmciautilsVersion : 014Release : 1License : GPLVendor : FreescalePackager : DuckGroup : Applications/SystemSource : %{name}-%{version}.tar.gzBuildRoot : %{_tmppath}/%{name}Prefix : %{pfx}%Description%{summary}%Prep%setup %Buildmake V=true UDEV=true STARTUP=false all%Installrm -rf $RPM_BUILD_ROOTmake V=true UDEV=true STARTUP=false DESTDIR=$RPM_BUILD_ROOT/%{pfx} install # edit and install the rc startup scriptinstall -d $RPM_BUILD_ROOT/%{pfx}/etc/rc.d/init.d# Map the platform to the name of the socket driver,# and specify rc script permissions.## $SOCKDRV is used in the sed script below to change the# name of the socket driver that is modprobe'd at init time## Add additional platforms as needed.#case "$PLATFORM" in imx31ads) SOCKDRV=mx31ads-pcmcia ;;esacsed -e "s/DRIVER=yenta_socket/DRIVER=$SOCKDRV/" < doc/pcmcia-new.sh > \ $RPM_BUILD_ROOT/%{pfx}/etc/rc.d/init.d/pcmcia%Cleanrm -rf $RPM_BUILD_ROOT%Files%defattr(-,root,root)%{pfx}/*
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -