aboutsummaryrefslogtreecommitdiff
path: root/academic/lpsolve
diff options
context:
space:
mode:
Diffstat (limited to 'academic/lpsolve')
-rw-r--r--academic/lpsolve/doinst.sh9
-rw-r--r--academic/lpsolve/lpsolve.SlackBuild11
-rw-r--r--academic/lpsolve/lpsolve.info6
3 files changed, 8 insertions, 18 deletions
diff --git a/academic/lpsolve/doinst.sh b/academic/lpsolve/doinst.sh
deleted file mode 100644
index 3e5691a052b5b..0000000000000
--- a/academic/lpsolve/doinst.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
diff --git a/academic/lpsolve/lpsolve.SlackBuild b/academic/lpsolve/lpsolve.SlackBuild
index db41bbddba059..a4cfd84c1974e 100644
--- a/academic/lpsolve/lpsolve.SlackBuild
+++ b/academic/lpsolve/lpsolve.SlackBuild
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=lpsolve
-VERSION=${VERSION:-5.5.2.0}
+VERSION=${VERSION:-5.5.2.5}
BUILD=${BUILD:-1}
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"
@@ -60,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf lp_solve_5.5
-tar xvf $CWD/lp_solve_5.5.2.0_source.tar.gz
+tar xvf $CWD/lp_solve_${VERSION}_source.tar.gz
cd lp_solve_5.5
chown -R root:root .
find -L . \
@@ -99,7 +99,6 @@ cp -a README.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
diff --git a/academic/lpsolve/lpsolve.info b/academic/lpsolve/lpsolve.info
index 2626a68ee01d4..7a996c499b5aa 100644
--- a/academic/lpsolve/lpsolve.info
+++ b/academic/lpsolve/lpsolve.info
@@ -1,8 +1,8 @@
PRGNAM="lpsolve"
-VERSION="5.5.2.0"
+VERSION="5.5.2.5"
HOMEPAGE="http://lpsolve.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/project/lpsolve/lpsolve/5.5.2.0/lp_solve_5.5.2.0_source.tar.gz"
-MD5SUM="167c0fb4ab178e0b7ab50bf0a635a836"
+DOWNLOAD="https://sourceforge.net/projects/lpsolve/files/lpsolve/5.5.2.5/lp_solve_5.5.2.5_source.tar.gz"
+MD5SUM="3be57261fc41dd8e210f54017220d5f7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""