mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
academic/pamlX: Build bump for paml-4.9c.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
8b5da50bf5
commit
475411e46f
1 changed files with 6 additions and 6 deletions
|
@ -24,12 +24,12 @@
|
|||
|
||||
PRGNAM=pamlX
|
||||
VERSION=${VERSION:-1.3.1}
|
||||
BUILD=${BUILD:-2}
|
||||
BUILD=${BUILD:-3}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i486 ;;
|
||||
i?86) ARCH=i586 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
|
@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
|
|||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
if [ "$ARCH" = "i586" ]; then
|
||||
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
|
@ -74,8 +74,8 @@ find -L . \
|
|||
# manuals installed by paml.
|
||||
sed -i 's|QApplication::applicationDirPath()|"/usr"|g' mainwindow.cpp
|
||||
sed -i 's|+= "/pamlx.conf"|= "~/.pamlX/pamlx.conf"|g' mainwindow.cpp
|
||||
sed -i 's|/doc/|/doc/paml-4.9a/|g' mainwindow.cpp
|
||||
sed -i 's|/doc/|/doc/paml-4.9a/|g' pamlhistorydialog.cpp
|
||||
sed -i 's|/doc/|/doc/paml-4.9c/|g' mainwindow.cpp
|
||||
sed -i 's|/doc/|/doc/paml-4.9c/|g' pamlhistorydialog.cpp
|
||||
|
||||
# If you want the "Help" menu to use something else than Okular for
|
||||
# viewing the PDF documentation, uncomment the appropriate line below
|
||||
|
|
Loading…
Reference in a new issue