diff options
author | R. S. Ananda Murthy <rsamurti@gmail.com> | 2016-11-17 12:36:46 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-11-19 07:31:28 +0700 |
commit | fe7e13846b6e213b689c615c82cee629330ae346 (patch) | |
tree | 64621237d807dfbe8d9b160514621198b2d97ad6 /academic | |
parent | 8676974a3a9e2f80a1654dc5d6ecc114dd9d684c (diff) | |
download | slackbuilds-fe7e13846b6e213b689c615c82cee629330ae346.tar.gz |
academic/lpsolve: Updated for version 5.5.2.5.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r-- | academic/lpsolve/doinst.sh | 9 | ||||
-rw-r--r-- | academic/lpsolve/lpsolve.SlackBuild | 11 | ||||
-rw-r--r-- | academic/lpsolve/lpsolve.info | 6 |
3 files changed, 8 insertions, 18 deletions
diff --git a/academic/lpsolve/doinst.sh b/academic/lpsolve/doinst.sh deleted file mode 100644 index 3e5691a052..0000000000 --- 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 db41bbddba..a4cfd84c19 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 2626a68ee0..7a996c499b 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="" |