This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: [ITA] glpk-4.21-1
- From: "Dr. Volker Zell" <dr dot volker dot zell at oracle dot com>
- To: cygwin-apps at cygwin dot com
- Date: Sat, 26 Apr 2008 13:44:39 +0200
- Subject: Re: [ITA] glpk-4.21-1
- References: <732789.75936.qm@web25007.mail.ukl.yahoo.com>
>>>>> Marco Atzeri writes:
> Hi All,
> as previously discussed
> glpk is one of the package needed to compile octave
> it is also present in debian.
glpk-4.25 compiles with shared library.
----------------------- glpk-4.25-1.cygport -------------------
DESCRIPTION="The GNU Linear Programming Kit package is intended for solving large-scale linear programming problems"
HOMEPAGE="http://www.gnu.org/software/glpk/"
SRC_URI="ftp://ftp.gnu.org/gnu/glpk/${PN}-${PV}.tar.gz \
ftp://ftp.gnu.org/gnu/glpk/${PN}-${PV}.tar.gz.sig"
abi=0
PKG_NAMES="${PN} lib${PN}${abi} lib${PN}-devel"
PKG_HINTS="setup lib devel"
PKG_CONTENTS[0]="
usr/bin/*.exe
usr/share/doc/
"
PKG_CONTENTS[1]="
usr/bin/*-${abi}.dll
"
PKG_CONTENTS[2]="
usr/include/
usr/lib/
"
src_compile() {
cd ${S}
cygautoreconf
lndirs
cd ${B}
cygconf
cygmake
}
src_install() {
cd ${B}
cyginstall
dodir /usr/share/doc/${PN}-${PV}
cp -r ${S}/doc ${D}/usr/share/doc/${PN}-${PV}
cp -r ${S}/examples ${D}/usr/share/doc/${PN}-${PV}
rm ${D}/usr/share/doc/${PN}-${PV}/examples/Makefile.*
}
----------------------- glpk-4.25-1.cygport -------------------
------------------------- glpk-4.25-1.src.patch ----------------
diff -urN -x CYGWIN-PATCHES -x 'aclocal.m4*' -x config.h.in -x config.guess -x config.sub -x ltmain.sh -x depcomp -x install-sh -x missing -x mkinstalldirs -x autom4te.cache -x '*compile' -x Makefile.in.in -x 'intltool*.in' -x 'xml-i18n-*.in' -x '*.pyc' -x '*.mo' -x '*.gmo' -x ABOUT-NLS -x Makevars.template -x COPYING -x INSTALL -x '*.orig' -x '*.rej' -x '*~' -x '*.temp' -x texinfo.tex -x ylwrap -x Makefile.in -x makefile.in -x configure -x gnome-doc-utils.make -x gnome-doc-utils.m4 -x intltool.m4 -x omf.make -x xmldocs.make origsrc/glpk-4.25/src/Makefile.am src/glpk-4.25/src/Makefile.am
--- origsrc/glpk-4.25/src/Makefile.am 2007-12-19 10:00:00.000000000 +0100
+++ src/glpk-4.25/src/Makefile.am 2008-02-07 22:37:56.468750000 +0100
@@ -4,7 +4,7 @@
lib_LTLIBRARIES = libglpk.la
-libglpk_la_LDFLAGS = -version-info 10:0:10
+libglpk_la_LDFLAGS = -version-info 10:0:10 -no-undefined
libglpk_la_SOURCES = \
glpapi01.c \
------------------------- glpk-4.25-1.src.patch ----------------
Ciao
Volker