libffi: use right prefix
This commit is contained in:
parent
76a56b551c
commit
13d3b83ab4
@ -4,10 +4,10 @@ release: 1
|
|||||||
sources: ftp://sourceware.org/pub/libffi/libffi-%{version}.tar.gz
|
sources: ftp://sourceware.org/pub/libffi/libffi-%{version}.tar.gz
|
||||||
|
|
||||||
@install
|
@install
|
||||||
set -e;
|
set -e
|
||||||
cd libffi-%{version};
|
cd libffi-%{version}
|
||||||
make DESTDIR="%{pkg}" install
|
make DESTDIR="%{pkg}" install
|
||||||
cd "%{pkg}";
|
cd "%{pkg}"
|
||||||
mv usr/lib/libffi-%{version}/include usr;
|
mv ./%{prefix}/lib/libffi-%{version}/include ./%{prefix}
|
||||||
nuke usr/lib/libffi-%{version}
|
nuke ./%{prefix}/lib/libffi-%{version}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user