summaryrefslogtreecommitdiff
path: root/office/lyx/lyx.SlackBuild
diff options
context:
space:
mode:
authorMorten Juhl-Johansen Zölde-Fejér <mjjzf@syntaktisk.dk>2010-07-22 16:55:22 -0500
committerErik Hanson <erik@slackbuilds.org>2010-07-25 21:52:40 -0500
commit109c11fb9c58bc7e1f8bec08904c50ca5ed4d95f (patch)
tree09a45790df322dae10c019ee48b2d8a80d5361b0 /office/lyx/lyx.SlackBuild
parent934dfe45a264513c337d504d48bbf36a253c2916 (diff)
downloadslackbuilds-109c11fb9c58bc7e1f8bec08904c50ca5ed4d95f.tar.gz
office/lyx: Updated for version 1.6.7.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'office/lyx/lyx.SlackBuild')
-rw-r--r--office/lyx/lyx.SlackBuild18
1 files changed, 6 insertions, 12 deletions
diff --git a/office/lyx/lyx.SlackBuild b/office/lyx/lyx.SlackBuild
index 4519a7c940..850d91c608 100644
--- a/office/lyx/lyx.SlackBuild
+++ b/office/lyx/lyx.SlackBuild
@@ -1,13 +1,12 @@
#!/bin/sh
-# Slackware build script for lyx
+# Slackware build script for LyX
+
+# Written by Morten Juhl-Johansen Zölde-Fejér <mjjzf@syntaktisk.dk>
-# Written by core (eroc@linuxmail.org)
-# Modified by Robby Workman <rworkman@slackbuilds.org>
-# Updated by Morten Juhl-Johansen Zölde-Fejér <mjjzf@syntaktisk.dk>
PRGNAM=lyx
-VERSION=${VERSION:-1.6.6}
+VERSION=${VERSION:-1.6.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -44,7 +43,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -62,10 +61,6 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-shared=yes \
- --enable-static=no \
- --with-aspell \
- --with-enchant \
--build=$ARCH-slackware-linux
make
@@ -78,12 +73,11 @@ 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 ANNOUNCE COPYING INSTALL* NEWS README* RELEASE-NOTES UPGRADING \
- $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}