diff options
Diffstat (limited to 'academic/genius')
-rw-r--r-- | academic/genius/README | 4 | ||||
-rw-r--r-- | academic/genius/genius.SlackBuild | 22 | ||||
-rw-r--r-- | academic/genius/genius.info | 8 |
3 files changed, 12 insertions, 22 deletions
diff --git a/academic/genius/README b/academic/genius/README index fa2fa4b67b2c6..844fbd0219602 100644 --- a/academic/genius/README +++ b/academic/genius/README @@ -5,7 +5,3 @@ in some aspects to BC, Matlab, Maple or Mathematica. It is useful both as a simple calculator and as a research or educational tool. The syntax is very intuitive and is designed to mimic how mathematics is usually written. - -If you would like the GUI interface as well, it requires -libgnomeui, gtksourceview and vte2. If you have these dependencies, -pass the variable of GNOME=YES (or anything that isn't NO ;) diff --git a/academic/genius/genius.SlackBuild b/academic/genius/genius.SlackBuild index dd8974c60b95a..6170b1f2c0d31 100644 --- a/academic/genius/genius.SlackBuild +++ b/academic/genius/genius.SlackBuild @@ -25,14 +25,14 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=genius -VERSION=${VERSION:-1.0.23} +VERSION=${VERSION:-1.0.27} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -50,14 +50,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -GNOME=${GNOME:-NO} -GNOME_FLAGS="--disable-gtksourceview --disable-gnome" -if [ "$GNOME" != "NO" ] ; then - GNOME_FLAGS="" -fi - -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" @@ -85,8 +79,10 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -CFLAGS="$SLKCFLAGS -std=gnu89" \ -CXXFLAGS="$SLKCFLAGS -std=gnu89" \ +autoreconf -vif + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ @@ -94,9 +90,7 @@ CXXFLAGS="$SLKCFLAGS -std=gnu89" \ --localstatedir=/var \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ - --disable-scrollkeeper \ --disable-update-mimedb \ - $GNOME_FLAGS \ --build=$ARCH-slackware-linux make diff --git a/academic/genius/genius.info b/academic/genius/genius.info index b072a1729264b..f4eaec93fb032 100644 --- a/academic/genius/genius.info +++ b/academic/genius/genius.info @@ -1,10 +1,10 @@ PRGNAM="genius" -VERSION="1.0.23" +VERSION="1.0.27" HOMEPAGE="http://www.5z.com/jirka/genius.html" -DOWNLOAD="http://ftp.5z.com/pub/genius/genius-1.0.23.tar.xz" -MD5SUM="3e94a5898e59c069c564f00136c2450d" +DOWNLOAD="https://download.gnome.org/sources/genius/1.0/genius-1.0.27.tar.xz" +MD5SUM="d510beed59c2b9ad52a56153e5825fb8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="rarian" +REQUIRES="gtksourceview4" MAINTAINER="Vincent Batts" EMAIL="vbatts@hashbangbash.com" |