#Maintainer: R S Ananda Murthy pkgname=glpk pkgver=4.40 pkgrel=1am arch=x86_64 source=("http://ftp.gnu.org/gnu/glpk/glpk-4.40.tar.gz") sourcetemplate=http://people.salixos.org/rsamurti/$pkgname docs=("AUTHORS" "THANKS" "ChangeLog" "ABOUT-NLS" "ANNOUNCE" "COPYING" "INSTALL" "README" "NEWS" "README.localization" "RELEASE-NOTES" "UPGRADING") url="http://www.gnu.org/software/glpk/" slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "GLPK (GNU Linear Programming Kit)" "This package is intended for solving large-scale linear programming" "(LP), mixed integer programming (MIP), and other related problems." "It is a set of routines written in ANSI C and organized in the form" "of a callable library. GLPK supports the GNU MathProg modeling" "language, which is a subset of the AMPL language." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var \ --sysconfdir=/etc --enable-static=no make || return 1 make install DESTDIR=$startdir/pkg }