Archived
3
0

libffi: use right prefix

This commit is contained in:
Philippe PITTOLI 2019-09-05 23:55:03 +02:00
parent 76a56b551c
commit 13d3b83ab4

View File

@ -4,10 +4,10 @@ release: 1
sources: ftp://sourceware.org/pub/libffi/libffi-%{version}.tar.gz
@install
set -e;
cd libffi-%{version};
set -e
cd libffi-%{version}
make DESTDIR="%{pkg}" install
cd "%{pkg}";
mv usr/lib/libffi-%{version}/include usr;
nuke usr/lib/libffi-%{version}
cd "%{pkg}"
mv ./%{prefix}/lib/libffi-%{version}/include ./%{prefix}
nuke ./%{prefix}/lib/libffi-%{version}