summaryrefslogtreecommitdiff
path: root/libraries/enca/enca.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2012-12-02 19:21:42 +0100
committerdsomero <xgizzmo@slackbuilds.org>2012-12-11 16:22:27 -0500
commit99a68c2d90dde98e6542f157e8a348c89e13eee8 (patch)
treeb2d1ce55825babf9b2cf3dd752c1049e4f09c4b4 /libraries/enca/enca.SlackBuild
parentea83fe7b988b6eccf66afb088780c567bdca6188 (diff)
downloadslackbuilds-99a68c2d90dde98e6542f157e8a348c89e13eee8.tar.gz
libraries/enca: Updated for version 1.14.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'libraries/enca/enca.SlackBuild')
-rw-r--r--libraries/enca/enca.SlackBuild9
1 files changed, 2 insertions, 7 deletions
diff --git a/libraries/enca/enca.SlackBuild b/libraries/enca/enca.SlackBuild
index 73bcf29598..d844ec7c8b 100644
--- a/libraries/enca/enca.SlackBuild
+++ b/libraries/enca/enca.SlackBuild
@@ -3,16 +3,14 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
PRGNAM=enca
-VERSION=${VERSION:-1.13}
+VERSION=${VERSION:-1.14}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -68,10 +66,7 @@ make install DESTDIR=$PKG
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 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \