network/hydra: Fixed for bash4.

This commit is contained in:
David Somero 2010-05-19 02:43:35 -04:00
parent 4a23a5630a
commit fb8159cac0

View file

@ -66,12 +66,8 @@ EXTRA_LIBDIRS="/lib64 /usr/lib64" \
make EXTRA_CFLAGS="$SLKCFLAGS"
make install PREFIX=$PKG DIR=/usr/bin
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
xargs strip --strip-unneeded 2> /dev/null || true
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
xargs strip --strip-unneeded 2> /dev/null || true
)
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# Add a desktop menu item
mkdir -p $PKG/usr/share/{applications,pixmaps}