aboutsummaryrefslogtreecommitdiff
path: root/libraries/libjpeg-turbo/libjpeg-turbo.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-06-12 00:03:09 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-06-12 00:05:05 +0700
commit2269a8406f3edb445bf5c4ca932cd8d9ed9d51b1 (patch)
tree3355a674657e45d406d4bf0fa5991b9806606ea1 /libraries/libjpeg-turbo/libjpeg-turbo.SlackBuild
parentcf9efc950ecb641beed844c517896650797c2c00 (diff)
libraries/libjpeg-turbo: Updated for version 1.4.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libjpeg-turbo/libjpeg-turbo.SlackBuild')
-rw-r--r--libraries/libjpeg-turbo/libjpeg-turbo.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/libraries/libjpeg-turbo/libjpeg-turbo.SlackBuild b/libraries/libjpeg-turbo/libjpeg-turbo.SlackBuild
index f727387e18221..f2ed388bde7e9 100644
--- a/libraries/libjpeg-turbo/libjpeg-turbo.SlackBuild
+++ b/libraries/libjpeg-turbo/libjpeg-turbo.SlackBuild
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libjpeg-turbo
-VERSION=${VERSION:-1.4.0}
+VERSION=${VERSION:-1.4.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -79,12 +79,16 @@ CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=$PREFIX \
--libdir=$PREFIX/lib${LIBDIRSUFFIX} \
+ --mandir=/usr/man \
--enable-static=no \
--build=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG
+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
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a *.txt README* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild