Fix binutils, busybox, libffi: %{name} => install
This commit is contained in:
parent
b76627a178
commit
5702336da6
@ -8,5 +8,5 @@ options:
|
||||
- make: tooldir=/usr
|
||||
|
||||
@install
|
||||
cd binutils-%{version} && make 'DESTDIR=%{pkg}' tooldir=/usr %{name} && rm '%{pkg}/usr/bin/strings'
|
||||
cd binutils-%{version} && make 'DESTDIR=%{pkg}' tooldir=/usr install && rm '%{pkg}/usr/bin/strings'
|
||||
|
||||
|
@ -14,5 +14,5 @@ sources: https://busybox.net/downloads/busybox-%{version}.tar.bz2
|
||||
mkdir -p '%{pkg}/usr/bin'
|
||||
mkdir -p '%{pkg}/usr/sbin'
|
||||
cp busybox-%{version}/busybox '%{pkg}/bin/busybox'
|
||||
chroot '%{pkg}' /bin/busybox --%{name} -s
|
||||
chroot '%{pkg}' /bin/busybox --install -s
|
||||
mv '%{pkg}/usr/sbin/killall5' '%{pkg}/sbin/'
|
||||
|
@ -2,10 +2,11 @@ name: libffi
|
||||
version: 3.2.1
|
||||
release: 1
|
||||
sources: ftp://sourceware.org/pub/libffi/libffi-%{version}.tar.gz
|
||||
|
||||
@install
|
||||
set -e;
|
||||
cd libffi-%{version};
|
||||
make DESTDIR="%{pkg}" %{name};
|
||||
make DESTDIR="%{pkg}" install
|
||||
cd "%{pkg}";
|
||||
mv usr/lib/libffi-%{version}/include usr;
|
||||
nuke usr/lib/libffi-%{version}
|
||||
|
Reference in New Issue
Block a user