name: binutils
version: 2.32
release: 3
sources: https://ftp.gnu.org/gnu/binutils/binutils-%{version}.tar.xz
dependencies: flex
options:
- configure: --disable-multilib --with-pic --disable-nls
- make: tooldir=%{prefix}
@install
cd binutils-%{version}
make 'DESTDIR=%{pkg}' tooldir=%{prefix} install
rm '%{pkg}/%{prefix}/bin/strings'