Archived
3
0

Fix binutils, busybox, libffi: %{name} => install

This commit is contained in:
Philippe PITTOLI 2019-08-26 18:10:41 +02:00
parent b76627a178
commit 5702336da6
3 changed files with 4 additions and 3 deletions

View File

@ -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'

View File

@ -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/'

View File

@ -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}