summaryrefslogtreecommitdiff
path: root/libraries/libjpeg-turbo/libjpeg-turbo.SlackBuild
diff options
context:
space:
mode:
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 f727387e18..f2ed388bde 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