# DISCLAIMER: Max Horn is the sole maintainer of this package. # Please DO NOT MAKE MODIFICATIONS without informing the maintainer. # Preferably, send a patch to me instead of making changes yourself! # If that is not possible due to extra urgency, at least send me a mail. # # Explanation: I am sick and tired of getting back to my packages and # discovering that people have messed with it. I am then forced to # retrace their steps, find out who, when and why did make a certain # change etc. -- i.e. it makes my life as maintainer harder. # Furthermore, as maintainer I am responsible for problems caused by my # packages. But I am not willing to take responsibility for something I # did not do. In particular, for changes that other people introduced # behind my back, no matter how good and noble their intentions were. As # such, I may see myself forced to drop responsibility for (and hence, # maintainership of) the affected package. Info2: << Package: singular Version: 3.1.6 Type: v (3-1-6) Revision: 1 # Maintainer: Max Horn HomePage: http://www.singular.uni-kl.de License: GPL # Depends: readline6-shlibs, libncurses5-shlibs (>= 5.4-20041023-1006), gmp5-shlibs, libmpfr4-shlibs # TODO: Add flint support (once there is a flint package) # Alternatively, consider using the Fink ntl instead of the built-in one. BuildDepends: readline6, libncurses5 (>= 5.4-20041023-1006), gmp5, libmpfr4 BuildConflicts: broken-gcc Suggests: surf, graphviz, singular-doc (>= %v) # Source: http://www.mathematik.uni-kl.de/ftp/pub/Math/Singular/SOURCES/%type_raw[v]/Singular-%type_raw[v].tar.gz Source-MD5: 5e2ca791f78cc638d7bb4255b2d4e4a4 SourceDirectory: Singular-%type_raw[v] # PatchFile: %n.patch PatchFile-MD5: 4ca17002701cf7776a562e4d08117f02 # ConfigureParams: << --disable-doc \ --libdir=%i/lib/Singular \ --includedir=%i/include/Singular \ --bindir=%i/lib/Singular \ --prefix=%i/share/Singular \ ( %m != x86_64 ) --enable-MP \ --without-dynamic-kernel \ --without-flint \ --with-malloc=system \ --with-valloc=system \ --without-Boost # Singular disables exceptions, hence boost cannot be used << #GCC: 4.0 # Explicitly setting C(XX)FLAGS slightly conflicts with Singular/configure, # which tries to set certain default values. # E.g. it sets -O2 -fomit-frame-pointer # which seems odd, since -O2 implies -fomit-frame-pointer SetCFLAGS: -O3 SetCXXFLAGS: -O3 # CompileScript: << #! /bin/sh -ev ./configure %c << # InstallScript: << #! /bin/sh -ev echo "#define MAKE_DISTRIBUTION " >Singular/distrib.h mkdir -p %i/bin mkdir -p %i/share/Singular make install ln -sf Singular-%type_raw[v] %i/lib/Singular/Singular rm -f %i/share/Singular/LIB cd Singular make install-sharedist install_slibdir=%i/share/Singular/LIB cd .. cat >%i/bin/Singular <%i/lib/Singular/singularsurf <%i/bin/ESingular < to work around problems on 10.7 caused by singular trying to "trick" GMP into thinking it is being compiled in a C compiler, not a C++ compiler. Previous revisions by Michael Brickenstein. << <<