diff options
author | Oleg O. Chukaev <oleg.chukaev@mail.ru> | 2013-10-27 22:06:21 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-10-27 23:39:08 -0500 |
commit | ebf7ea616428881d6506c4889f66d11ed30c76d8 (patch) | |
tree | a4796609cba4ea42edb5e2251b6e7e5509bc0015 /misc | |
parent | 0bf9e862b84ca6e0690fe0659ba59562c6385c9c (diff) |
misc/uni2ascii: Installation bugfix
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'misc')
-rw-r--r-- | misc/uni2ascii/uni2ascii.SlackBuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/misc/uni2ascii/uni2ascii.SlackBuild b/misc/uni2ascii/uni2ascii.SlackBuild index 7b789760d6d8..3d0388d10927 100644 --- a/misc/uni2ascii/uni2ascii.SlackBuild +++ b/misc/uni2ascii/uni2ascii.SlackBuild @@ -5,7 +5,7 @@ PRGNAM=uni2ascii VERSION=4.18 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -58,7 +58,10 @@ CXXFLAGS="$SLKCFLAGS" \ --build=$ARCH-slackware-linux make -make install-strip DESTDIR=$PKG +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done |