summaryrefslogtreecommitdiff
path: root/office/lyx/lyx.SlackBuild
diff options
context:
space:
mode:
authorMichiel van Wessem <michiel@slackbuilds.org>2010-05-12 17:44:47 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 17:44:47 +0200
commit850513e3a853fc9aabfb450688c7b5a89d467587 (patch)
tree43ae4f4657efb44fe5fa54fb1a9d36e60902aea9 /office/lyx/lyx.SlackBuild
parent0c4a3cc8d0a9aa74b2aeeb0f6421557b8a75482b (diff)
downloadslackbuilds-850513e3a853fc9aabfb450688c7b5a89d467587.tar.gz
office/lyx: Updated for version 1.4.5.1
Diffstat (limited to 'office/lyx/lyx.SlackBuild')
-rw-r--r--office/lyx/lyx.SlackBuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/office/lyx/lyx.SlackBuild b/office/lyx/lyx.SlackBuild
index 0d44e04973..f688a211ae 100644
--- a/office/lyx/lyx.SlackBuild
+++ b/office/lyx/lyx.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for LyX
# Copyright 2007 Martin Lefebvre <dadexter@sekurity.com>
+# Copyright 2007-2008 Michiel van Wessem, Manchester, United Kingdom
+
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -63,6 +65,7 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
+ --mandir=/usr/man \
--enable-shared \
--with-frontend=${_FRONTEND} \
--with-qt-dir=/usr/lib/qt \
@@ -81,6 +84,11 @@ make install DESTDIR=$PKG || exit 1
( 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
+)
+
+( 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
)