diff --git a/libffi/recipe.spec b/libffi/recipe.spec index 18711b6..b7d01c0 100644 --- a/libffi/recipe.spec +++ b/libffi/recipe.spec @@ -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}