development/lua: Fixed for bash4.

This commit is contained in:
David Somero 2010-05-19 02:33:42 -04:00
parent 3a21fdb8cd
commit eaaff26e7f

View file

@ -82,13 +82,8 @@ cd -
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig
cat etc/lua.pc > $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/lua.pc
( cd $PKG
find . -type f | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
xargs strip --strip-unneeded 2> /dev/null || true
find . -type f | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
xargs strip --strip-unneeded 2> /dev/null
strip -g usr/lib${LIBDIRSUFFIX}/*.a
)
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;