summaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
authorFrank Caraballo <fecaraballo{at}gmail{dot}com>2010-05-13 00:19:56 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:19:56 +0200
commitd31d12473d9ec27eefb45216f9e95a79918143c0 (patch)
tree025cd4310401d4e965d0b31461f1ae93bb9938b4 /academic
parenta4cf9cd9d160d9d9441541c7584e78ce0d7bbae9 (diff)
downloadslackbuilds-d31d12473d9ec27eefb45216f9e95a79918143c0.tar.gz
academic/galculator: Updated for version 1.3.4
Diffstat (limited to 'academic')
-rw-r--r--academic/galculator/doinst.sh4
-rw-r--r--academic/galculator/galculator.SlackBuild6
-rw-r--r--academic/galculator/galculator.info2
3 files changed, 9 insertions, 3 deletions
diff --git a/academic/galculator/doinst.sh b/academic/galculator/doinst.sh
index f364075896..392c12adb9 100644
--- a/academic/galculator/doinst.sh
+++ b/academic/galculator/doinst.sh
@@ -1,4 +1,4 @@
-if [ -x usr/bin/update-desktop-database ]; then
- usr/bin/update-desktop-database -q usr/share/applications
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications
fi
diff --git a/academic/galculator/galculator.SlackBuild b/academic/galculator/galculator.SlackBuild
index 4a214dbc4e..0fd6393ce9 100644
--- a/academic/galculator/galculator.SlackBuild
+++ b/academic/galculator/galculator.SlackBuild
@@ -35,10 +35,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
rm -rf $PKG
@@ -58,6 +61,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
@@ -83,4 +87,4 @@ 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.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/academic/galculator/galculator.info b/academic/galculator/galculator.info
index 3caf64062a..50d66183ca 100644
--- a/academic/galculator/galculator.info
+++ b/academic/galculator/galculator.info
@@ -2,7 +2,9 @@ PRGNAM="galculator"
VERSION="1.3.4"
HOMEPAGE="http://galculator.sourceforge.net/"
DOWNLOAD="http://downloads.sourceforge.net/galculator/galculator-1.3.4.tar.bz2"
+DOWNLOAD_x86_64=""
MD5SUM="d30e6fbf5947bb1c873bc9d5a21046f1"
+MD5SUM_x86_64=""
MAINTAINER="Frank Caraballo"
EMAIL="fecaraballo{at}gmail{dot}com"
APPROVED="dsomero"