Info2: << Package: singular Version: 3.1.6 Type: v (3-1-6) Revision: 2 # Maintainer: None HomePage: https://www.singular.uni-kl.de License: GPL # Depends: << gmp5-shlibs, libmpfr4-shlibs, libncurses5-shlibs (>= 5.9-20110507-1), readline8-shlibs << # TODO: Add flint support (once there is a flint package) # Alternatively, consider using the Fink ntl instead of the built-in one. BuildDepends: << gmp5, libmpfr4, libncurses5 (>= 5.9-20110507-1), readline8 << BuildConflicts: broken-gcc Suggests: surf, graphviz, singular-doc (>= %v) # Source: https://service.mathematik.uni-kl.de/ftp/pub/Math/Singular/SOURCES/%type_raw[v]/Singular-%type_raw[v].tar.gz Source-Checksum: SHA256(7956a17a0b5d428fea25bc0bc6c19c753748fb98bb2926c49b9fbcbec94172ff) SourceDirectory: Singular-%type_raw[v] # PatchFile: %n.patch PatchFile-MD5: 4ca48faa992b0f477bfdf4b54f5abe05 # 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. << <<