glpk updated, seems to fix octave segfaults

This commit is contained in:
abveritas 2013-01-22 02:00:51 +00:00
parent f303121155
commit ca8b2b0123

View File

@ -1,37 +1,32 @@
#
# 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"
}