Created
November 28, 2019 10:36
-
-
Save Libbum/52f05187c5bef2935dd39bccd8f79ff0 to your computer and use it in GitHub Desktop.
Ipopt 3.13.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ASL | |
pkgname=coinasl | |
pkgver=1.4.1 | |
pkgrel=1 | |
pkgdesc="COIN-OR autotools harness to build AMPL Solver Library" | |
arch=('i686' 'x86_64') | |
url="https://github.com/coin-or-tools/ThirdParty-ASL/" | |
#license=('') | |
groups=('coin-or') | |
depends=('gcc-libs') #Probably others. | |
makedepends=('gcc-fortran') | |
source=("https://github.com/coin-or-tools/ThirdParty-ASL/archive/releases/$pkgver.tar.gz") | |
sha256sums=('SKIP') | |
build() { | |
cd "ThirdParty-ASL-releases-$pkgver" | |
./get.ASL | |
./configure --prefix=/usr | |
make | |
} | |
check() { | |
true | |
} | |
package() { | |
cd "ThirdParty-ASL-releases-$pkgver" | |
PKG_CONFIG_LIBDIR="${pkgdir}/usr/lib/pkgconfig/" \ | |
make DESTDIR="${pkgdir}" install | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Ipopt | |
pkgname=coin-or-ipopt | |
pkgver=3.13.0 | |
pkgrel=1 | |
pkgdesc="Interior Point OPTimizer" | |
arch=('i686' 'x86_64') | |
url="https://github.com/coin-or/Ipopt" | |
license=('EPL') | |
groups=('coin-or') | |
depends=('gcc-libs' 'lapack' 'java-runtime' 'coinasl' 'coinmetis' 'coinmumps') | |
makedepends=('gcc-fortran' 'wget' 'java-environment' 'graphviz' 'doxygen') | |
source=("http://www.coin-or.org/download/source/Ipopt/Ipopt-$pkgver.tgz") | |
sha256sums=('dc392396be28c4a0d49bfab399320cb3f70db5b8f090028a883d826a47744ecf') | |
build() { | |
mkdir -p ${srcdir}/build && cd ${srcdir}/build | |
"../Ipopt-releases-$pkgver/configure" --prefix=/usr \ | |
--with-asl \ | |
--with-mumps \ | |
--without-hsl \ | |
--disable-java | |
make | |
} | |
check() { | |
cd "$srcdir/build" | |
make test | |
} | |
package() { | |
cd "$srcdir/build" | |
PKG_CONFIG_LIBDIR="${pkgdir}/usr/lib/pkgconfig/" \ | |
make DESTDIR="${pkgdir}" install | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Metis | |
pkgname=coinmetis | |
pkgver=1.3.8 | |
pkgrel=1 | |
pkgdesc="COIN-OR autotools harness to build Metis" | |
arch=('i686' 'x86_64') | |
url="https://github.com/coin-or-tools/ThirdParty-Metis/" | |
#license=('') | |
groups=('coin-or') | |
depends=('gcc-libs') #Probably others. | |
makedepends=('gcc-fortran') | |
source=("https://github.com/coin-or-tools/ThirdParty-Metis/archive/releases/$pkgver.tar.gz") | |
sha256sums=('SKIP') | |
build() { | |
cd "ThirdParty-Metis-releases-$pkgver" | |
./get.Metis | |
./configure --prefix=/usr | |
make | |
} | |
check() { | |
true | |
} | |
package() { | |
cd "ThirdParty-Metis-releases-$pkgver" | |
PKG_CONFIG_LIBDIR="${pkgdir}/usr/lib/pkgconfig/" \ | |
make DESTDIR="${pkgdir}" install | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Mumps | |
pkgname=coinmumps | |
pkgver=1.6.1 | |
pkgrel=1 | |
pkgdesc="COIN-OR autotools harness to build MUMPS" | |
arch=('i686' 'x86_64') | |
url="https://github.com/coin-or-tools/ThirdParty-MUMPS/" | |
#license=('') | |
groups=('coin-or') | |
depends=('gcc-libs' 'coinmetis') #Probably others. | |
makedepends=('gcc-fortran') | |
source=("https://github.com/coin-or-tools/ThirdParty-Mumps/archive/releases/$pkgver.tar.gz") | |
sha256sums=('SKIP') | |
build() { | |
cd "ThirdParty-Mumps-releases-$pkgver" | |
./get.Mumps | |
./configure --prefix=/usr | |
make | |
} | |
check() { | |
true | |
} | |
package() { | |
cd "ThirdParty-Mumps-releases-$pkgver" | |
PKG_CONFIG_LIBDIR="${pkgdir}/usr/lib/pkgconfig/" \ | |
make DESTDIR="${pkgdir}" install | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment