From 5702336da68d748d5a5ea7405bcd75f3b15debcb Mon Sep 17 00:00:00 2001 From: Philippe PITTOLI Date: Mon, 26 Aug 2019 18:10:41 +0200 Subject: [PATCH] Fix binutils, busybox, libffi: %{name} => install --- binutils/recipe.spec | 2 +- busybox/recipe.spec | 2 +- libffi/recipe.spec | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/binutils/recipe.spec b/binutils/recipe.spec index 68029b5..9184776 100644 --- a/binutils/recipe.spec +++ b/binutils/recipe.spec @@ -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' diff --git a/busybox/recipe.spec b/busybox/recipe.spec index 751c2da..22dac28 100644 --- a/busybox/recipe.spec +++ b/busybox/recipe.spec @@ -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/' diff --git a/libffi/recipe.spec b/libffi/recipe.spec index f2576c6..18711b6 100644 --- a/libffi/recipe.spec +++ b/libffi/recipe.spec @@ -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}