diff options
Diffstat (limited to 'academic/staden/staden.SlackBuild')
-rwxr-xr-x[-rw-r--r--] | academic/staden/staden.SlackBuild | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/academic/staden/staden.SlackBuild b/academic/staden/staden.SlackBuild index 707e9007de..17f236fdb6 100644..100755 --- a/academic/staden/staden.SlackBuild +++ b/academic/staden/staden.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=staden VERSION=${VERSION:-2.0.0b9} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -35,8 +35,8 @@ if [ -z "$ARCH" ]; then esac fi -SLKTCL=tcl8.5.9 # Slackware 13.37 sources for TCL -SLKTK=tk8.5.9 # Slackware 13.37 sources for TK +SLKTCL=tcl8.5.11 # Slackware 14.0 sources for TCL +SLKTK=tk8.5.11 # Slackware 14.0 sources for TK TKLIB=tklib0.5 # Folder name of TKLIB CWD=$(pwd) @@ -86,6 +86,7 @@ find $PRGNAM-$VERSION-src ${PRGNAM}_doc-$VERSION-src \ -exec chmod 644 {} \; cd $PRGNAM-$VERSION-src + # On Slackware64, the components of staden (like GAP4, GAP5, PREGAP4, # SPIN, TREV) will not run, as they still expect their libraries to be # in /usr/lib not /usr/lib64. Let's correct the libraries path. @@ -103,6 +104,11 @@ sed -i "73 a EMBOSS_DATA=/usr/share/EMBOSS/data; export EMBOSS_DATA" spin/spin # Correct the path where staden components look for their manual. sed -i "s:/share/doc/staden/manual:/doc/$PRGNAM-$VERSION/manual:" tk_utils/help_config +# These fixes are from Arch linux AUR +# http://aur.archlinux.org/packages/st/staden/PKGBUILD +sed -i 's:-DSVN_VERSION=$(SVNVERS)::' system.mk.in +sed -i "s/gzFile\ \*gz/gzFile\ gz/" gap5/zfio.h + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ |