Commit ca8b2b01 authored by abveritas's avatar abveritas

glpk updated, seems to fix octave segfaults

parent f3031211
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
# maintainer abveritas[at]chakra-project[dot]org>
pkgname=glpk
pkgver=4.44
pkgver=4.47
pkgrel=1
pkgdesc="GNU Linear Programming Kit : solve LP, MIP and other problems."
arch=('i686' 'x86_64')
arch=('x86_64')
url="http://www.gnu.org/software/glpk/glpk.html"
license=('GPL')
depends=('glibc')
options=('!libtool')
source=("http://ftp.gnu.org/gnu/glpk/${pkgname}-${pkgver}.tar.gz")
md5sums=('f2ac7013bc0420d730d052e7ba24bdb1')
md5sums=('8653bf20c1f7db96b9ed369a8598a1ce')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr
if [ "$CARCH" == "x86_64" ]; then
make CFLAGS="$CFLAGS -fPIC"
else
make
fi
make CFLAGS="$CFLAGS -fPIC"
}
package(){
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
install -Dm644 doc/glpk.pdf "${pkgdir}/usr/share/doc/glpk/glpk.pdf"
install -Dm644 doc/gmpl.pdf "${pkgdir}/usr/share/doc/glpk/gmpl.pdf"
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment