aboutsummaryrefslogtreecommitdiff
path: root/academic/iTest
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2022-02-27 19:47:44 +0100
committerRobby Workman <rworkman@slackbuilds.org>2022-02-27 22:29:06 -0600
commita76195912a53ae6a1d59e733c1f754fa15d10a3e (patch)
treeae0e3949a3c558aff65747bb4297a90eb1cdc0a7 /academic/iTest
parent2b8b9fb816ced0606c422d70da9819c9360bb15d (diff)
academic/iTest: Use qt4.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'academic/iTest')
-rw-r--r--academic/iTest/iTest.SlackBuild8
-rw-r--r--academic/iTest/iTest.info2
2 files changed, 6 insertions, 4 deletions
diff --git a/academic/iTest/iTest.SlackBuild b/academic/iTest/iTest.SlackBuild
index a569a2df93eb5..9ba531b79c4d8 100644
--- a/academic/iTest/iTest.SlackBuild
+++ b/academic/iTest/iTest.SlackBuild
@@ -33,7 +33,7 @@ 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
@@ -51,8 +51,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"
@@ -87,6 +87,8 @@ 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 {} \;
+. /etc/profile.d/qt4.sh
+
cd iTestServer
lrelease iTestServer.pro
cd ..
diff --git a/academic/iTest/iTest.info b/academic/iTest/iTest.info
index 093a59a20d7ef..a4933c1590609 100644
--- a/academic/iTest/iTest.info
+++ b/academic/iTest/iTest.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://sourceforge.net/projects/itest/files/itest-prereleases/iTest-1.
MD5SUM="8e4b055c42850ec740cccc18db681bd6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="qt4"
MAINTAINER="R. S. Ananda Murthy"
EMAIL="rsamurti@gmail.com"