* update coin-or-asl to 2.1.0-1
This commit is contained in:
parent
70eab90f79
commit
2a716c0b43
@ -1,15 +1,16 @@
|
|||||||
pkgbase = coin-or-asl
|
pkgbase = coin-or-asl
|
||||||
pkgdesc = COIN-OR autotools harness to build AMPL Solver Library
|
pkgdesc = COIN-OR autotools harness to build AMPL Solver Library
|
||||||
pkgver = 2.0.2
|
pkgver = 2.1.0
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://github.com/coin-or-tools/ThirdParty-ASL/
|
url = https://github.com/coin-or-tools/ThirdParty-ASL/
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
groups = coin-or
|
groups = coin-or
|
||||||
license = MIT
|
license = EPL-2.0
|
||||||
|
makedepends = git
|
||||||
depends = glibc
|
depends = glibc
|
||||||
source = coin-or-asl-2.0.2.tar.gz::https://github.com/coin-or-tools/ThirdParty-ASL/archive/releases/2.0.2.tar.gz
|
source = git+https://github.com/coin-or-tools/ThirdParty-ASL#tag=releases/2.1.0
|
||||||
source = https://coin-or-tools.github.io/ThirdParty-ASL/solvers-64919f75f.tgz
|
source = https://coin-or-tools.github.io/ThirdParty-ASL/solvers-64919f75f.tgz
|
||||||
sha256sums = f6e57d9752db939d2f55ff6917146406217eaa908539b351c840e0ff10b30c94
|
sha256sums = c0e11d3bfcc90bd5b8edc8c779b88d5c06523289f3be6b4ed76b4343e99efc48
|
||||||
sha256sums = e212926d1d797701adc901ef18eaab6b15edd13f9281dd8c9266e3cdaf8c2dd3
|
sha256sums = e212926d1d797701adc901ef18eaab6b15edd13f9281dd8c9266e3cdaf8c2dd3
|
||||||
|
|
||||||
pkgname = coin-or-asl
|
pkgname = coin-or-asl
|
||||||
|
@ -2,31 +2,33 @@
|
|||||||
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
||||||
|
|
||||||
pkgname=coin-or-asl
|
pkgname=coin-or-asl
|
||||||
pkgver=2.0.2
|
pkgver=2.1.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='COIN-OR autotools harness to build AMPL Solver Library'
|
pkgdesc='COIN-OR autotools harness to build AMPL Solver Library'
|
||||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||||
url='https://github.com/coin-or-tools/ThirdParty-ASL/'
|
url='https://github.com/coin-or-tools/ThirdParty-ASL/'
|
||||||
license=(MIT)
|
license=(EPL-2.0)
|
||||||
groups=(coin-or)
|
groups=(coin-or)
|
||||||
depends=(glibc)
|
depends=(glibc)
|
||||||
source=($pkgname-$pkgver.tar.gz::https://github.com/coin-or-tools/ThirdParty-ASL/archive/releases/$pkgver.tar.gz
|
makedepends=(git)
|
||||||
|
source=(git+https://github.com/coin-or-tools/ThirdParty-ASL#tag=releases/$pkgver
|
||||||
https://coin-or-tools.github.io/ThirdParty-ASL/solvers-64919f75f.tgz)
|
https://coin-or-tools.github.io/ThirdParty-ASL/solvers-64919f75f.tgz)
|
||||||
sha256sums=('f6e57d9752db939d2f55ff6917146406217eaa908539b351c840e0ff10b30c94'
|
sha256sums=('c0e11d3bfcc90bd5b8edc8c779b88d5c06523289f3be6b4ed76b4343e99efc48'
|
||||||
'e212926d1d797701adc901ef18eaab6b15edd13f9281dd8c9266e3cdaf8c2dd3')
|
'e212926d1d797701adc901ef18eaab6b15edd13f9281dd8c9266e3cdaf8c2dd3')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd ThirdParty-ASL-releases-$pkgver
|
cd ThirdParty-ASL
|
||||||
ln -s ../solvers .
|
ln -s ../solvers .
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd ThirdParty-ASL-releases-$pkgver
|
cd ThirdParty-ASL
|
||||||
export CFLAGS+=' -Wno-implicit-function-declaration'
|
export CFLAGS+=' -Wno-implicit-function-declaration'
|
||||||
./configure --prefix=/usr --srcdir="$PWD" --build=${CHOST}
|
./configure --prefix=/usr --srcdir="$PWD" --build=${CARCH}
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd ThirdParty-ASL-releases-$pkgver
|
cd ThirdParty-ASL
|
||||||
make DESTDIR="$pkgdir" install
|
make DESTDIR="$pkgdir" install
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user