libraries/Ipopt: Updated for version 3.14.13.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
09b56a8250
commit
be83ecbdfe
|
@ -2,6 +2,7 @@
|
|||
|
||||
# Slackware build script for Ipopt
|
||||
|
||||
# Copyright 2024 Juan M. Lasca <juanmlasca@gmail.com>
|
||||
# Copyright 2016 PARC Inc. Palo Alto
|
||||
# All rights reserved.
|
||||
#
|
||||
|
@ -25,8 +26,8 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=Ipopt
|
||||
VERSION=${VERSION:-3.12.6}
|
||||
BUILD=${BUILD:-2}
|
||||
VERSION=${VERSION:-3.14.13}
|
||||
BUILD=${BUILD:-3}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
|
@ -38,9 +39,6 @@ if [ -z "$ARCH" ]; then
|
|||
esac
|
||||
fi
|
||||
|
||||
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
|
||||
# the name of the created package would be, and then exit. This information
|
||||
# could be useful to other scripts.
|
||||
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
|
||||
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
|
||||
exit 0
|
||||
|
@ -70,7 +68,8 @@ rm -rf $PKG
|
|||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tgz
|
||||
tar xvf $CWD/$PRGNAM-releases-$VERSION.tar.gz
|
||||
mv $PRGNAM-releases-$VERSION $PRGNAM-$VERSION
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
|
@ -96,13 +95,18 @@ make install DESTDIR=$PKG
|
|||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a README $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
mv $PKG/usr/share/coin/doc/Ipopt/* $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
rm -rf $PKG/usr/share/
|
||||
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
|
||||
|
||||
rm -f $PKG/usr/lib*/*.la
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html
|
||||
cp -a \
|
||||
LICENSE AUTHORS README.md ChangeLog.md \
|
||||
examples \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a doc/*.html doc/*.css \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION/html
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
rm -rf $PKG/usr/share/
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="Ipopt"
|
||||
VERSION="3.12.6"
|
||||
HOMEPAGE="https://projects.coin-or.org/Ipopt"
|
||||
DOWNLOAD="http://www.coin-or.org/download/source/Ipopt/Ipopt-3.12.6.tgz"
|
||||
MD5SUM="076bac1fa0c4e40dca8fab8768cbb70e"
|
||||
VERSION="3.14.13"
|
||||
HOMEPAGE="https://github.com/coin-or/Ipopt"
|
||||
DOWNLOAD="https://github.com/coin-or/Ipopt/archive/releases/3.14.13/Ipopt-releases-3.14.13.tar.gz"
|
||||
MD5SUM="536872bc6b3f2c655f308bee8abd78c4"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="blas"
|
||||
MAINTAINER="Alexander Feldman"
|
||||
EMAIL="alex@llama.gs"
|
||||
REQUIRES="lapack"
|
||||
MAINTAINER="Juan M. Lasca"
|
||||
EMAIL="juanmlasca@gmail.com"
|
||||
|
|
Loading…
Reference in New Issue