📄 pkgconfig.spec
字号:
%define pfx /opt/freescale/rootfs/%{_target_cpu}Summary : A tool for determining compilation optionsName : pkgconfigVersion : 0.21Release : 1License : GPLVendor : FreescalePackager : Stuart HughesGroup : Development/ToolsSource : pkg-config-%{version}.tar.gzPatch0 : pkg-config-0.21-prefix_mungling.patchBuildRoot : %{_tmppath}/%{name}Prefix : %{pfx}%Description%{summary}%Prep%setup -n pkg-config-%{version}%patch0 -p1%Build# don't add --build as glib will fail for a host build due to # stupid incorrect cross compile detection./configure --prefix=%{_prefix} --host=$CFGHOSTmake%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 + -