swig.spec
来自「coldfire MCF5445X基于unix平台的BSP」· SPEC 代码 · 共 42 行
SPEC
42 行
%define pfx /opt/freescale/rootfs/%{_target_cpu}####################################################################### Usually, nothing needs to be changed below here between releases######################################################################Summary : Simplified Wrapper and Interface GeneratorName : swigVersion : 1.3.21Release : 1Vendor : FreescalePackager : Stuart HughesGroup : Development/ToolsSource : %{name}-%{version}.tar.gzLicense : BSDBuildRoot : %{_tmppath}/%{name}%Description%{summary}%Prep%setup -n SWIG-%{version}%Buildcat <<'EOF' > config.cacheac_cv_have_x=${ac_cv_have_x='have_x=yes ac_x_includes=%{_prefix}/X11R6/include ac_x_libraries=%{_prefix}/X11R6/lib'}EOF./configure --cache-file=config.cache --prefix=%{_prefix}make%Installrm -rf $RPM_BUILD_ROOTmake install prefix=$RPM_BUILD_ROOT/%{pfx}/%{_prefix}%Cleanrm -rf $RPM_BUILD_ROOT%Files%defattr(-,root,root)%{pfx}/%{_prefix}/bin/*%{pfx}/%{_prefix}/lib/swig*
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?