📄 swig.spec
字号:
%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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -