binutils recipe: using %{prefix}
parent
495ad4b336
commit
22b9aae701
|
@ -1,6 +1,6 @@
|
|||
name: binutils
|
||||
version: 2.32
|
||||
release: 1
|
||||
release: 2
|
||||
sources: https://ftp.gnu.org/gnu/binutils/binutils-%{version}.tar.xz
|
||||
options:
|
||||
- configure: --disable-multilib --with-pic --disable-nls
|
||||
|
@ -8,5 +8,6 @@ options:
|
|||
- make: tooldir=/usr
|
||||
|
||||
@install
|
||||
cd binutils-%{version} && make 'DESTDIR=%{pkg}' tooldir=/usr install && rm '%{pkg}/usr/bin/strings'
|
||||
|
||||
cd binutils-%{version}
|
||||
make 'DESTDIR=%{pkg}' tooldir=/usr install
|
||||
rm '%{pkg}/%{prefix}/bin/strings'
|
||||
|
|
Reference in New Issue