Package: glpk Version: 4.26 Revision: 1 Description: GNU Linear Programming Kit License: GPL Homepage: http://www.gnu.org/software/glpk/ Maintainer: Todai Fink Team Source: mirror:gnu:%n/%n-%v.tar.gz Source-MD5: 3c9035e5246995343e80e0d440553008 BuildDepends: gmp Depends: %N-shlibs (= %v-%r) Patchscript: perl -pi -e 's;libglpk_la_LDFLAGS =;$& -no-undefined -Wl,-single_module -Wl,-x -Wl,-dead_strip;' src/Makefile.in SetLDFLAGS: -dead_strip SetCFLAGS: -O3 -fstrict-aliasing -s -Wall InstallScript: << make install DESTDIR=%d install -m 755 -d %i/share/doc/%n/examples install -m 644 examples/*.{c,mod,lp,mps,dat} %i/share/doc/%n/examples install -m 755 -d %i/share/doc/%n/manual/memo install -m 644 doc/*.* %i/share/doc/%n/manual install -m 644 doc/memo/* %i/share/doc/%n/manual/memo ln -s ../%N-shlibs %i/share/doc/%n/READMEs perl -pi -e 's, -(L%p/lib|lm),,g' %i/lib/libglpk.la << # The following is just for upgrade, so can be deleted in a year or so (say 8/2008) PreInstScript: rm -fR %p/share/doc/%n InfoTest: << TestScript: make check << Splitoff: << Package: %N-dev BuildDependsOnly: true Depends: %N-shlibs (= %v-%r) Conflicts: glpk (<= 4.14-2) InstallScript: mkdir -p %i/share/doc; ln -s %N-shlibs %i/share/doc/%n Files: lib/lib%{N}.{a,la,dylib} include << Splitoff2: << Package: %N-shlibs Depends: gmp-shlibs Files: lib/lib%N.*.dylib Shlibs: %p/lib/lib%N.0.dylib 12.0.0 %n (>= 4.26-1) DocFiles: AUTHORS COPYING ChangeLog INSTALL NEWS README << DescDetail: << The GLPK (GNU Linear Programming Kit) 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 language, which is a subset of the AMPL language. The GLPK package includes the following main components: * Revised simplex method. * Primal-dual interior point method. * Branch-and-bound method. * Translator for GNU MathProg. * Application program interface (API). * Stand-alone LP/MIP solver. <<