Info2: << Package: sbcl-%type_pkg[sbcl]-maxima Type: sbcl (1.0.58), ppcbs (1.0.47) Version: 1.0.58 Revision: 2 License: BSD Description: ANSI Common Lisp implementation Maintainer: Alexander Hansen # Based on sbcl-x86_64.info from Jesse Alama # NOTE: The version of the bootstrap binary is given by the Type: powerpc Architecture: powerpc Provides: sbcl-maxima Recommends: gnupg | gnupg-idea | gnupg-testing Source: mirror:sourceforge:sbcl/sbcl-%v-source.tar.bz2 Source-MD5: 341952949dc90af6f83a89f685da5dde Source2: mirror:sourceforge:sbcl/sbcl-%type_raw[ppcbs]-powerpc-darwin-binary.tar.bz2 Source2-MD5: 02747afc7631a7ccdeede4b52b78072d SourceDirectory: sbcl-%v PatchScript: << perl -pi -e 's|\(deftest readdir.1|#-darwin\n$&|' contrib/sb-posix/posix-tests.lisp perl -pi -e 's|makeinfo|/usr/bin/makeinfo|g' doc/internals/Makefile doc/manual/Makefile << CompileScript: << #!/bin/sh -ev mym=%m bootstrapper=%type_raw[ppcbs] export MAKEINFO=/usr/bin/makeinfo sh make.sh "../sbcl-$bootstrapper-$mym-darwin/src/runtime/sbcl \ --core ../sbcl-$bootstrapper-$mym-darwin/output/sbcl.core \ --disable-debugger --sysinit /dev/null --userinit /dev/null" cd doc/manual make html << InstallScript: << #!/bin/sh -ev find %b -type d -name CVS -depth -exec rm -rf {} \; find %b -type f -name .cvsignore -depth -exec rm -f {} \; find %b -type f -name a.out -depth -exec rm -f {} \; unset SBCL_HOME ; INSTALL_ROOT=%i/opt/sbcl-%type_raw[sbcl] sh install.sh cd %i/opt/sbcl-%type_raw[sbcl] mv bin/sbcl lib/sbcl/sbcl echo '#! /bin/sh' > bin/sbcl echo 'SBCL_HOME=%p/opt/sbcl-%type_raw[sbcl]/lib/sbcl/ exec %p/opt/sbcl-%type_raw[sbcl]/lib/sbcl/sbcl "$@"' >> bin/sbcl chmod 755 bin/sbcl rm -rf share/info share/man << PostInstScript: << printf "\nPlease run\n\n" printf "\n\tfink rebuild maxima; fink update maxima\n\n" printf "to ensure that your maxima installation works with the\n" printf "new sbcl-maxima revision.\n\n" << Homepage: http://www.sbcl.org/ DescDetail: << Steel Bank Common Lisp is an open source development system for ANSI Common Lisp. It provides an interactive environment including an integrated native compiler, interpreter, and debugger. Several extensions, such as a foreign function interface, and support for Unix (POSIX) system calls are also included. SBCL is derived from CMU CL. << DescPackaging: << Installs in a versioned private directory to avoid dependency deadlocks when updating maxima. Keep sbcl Type in sync with that in maxima.info Doesn't install info files, because of overlap with normal 'sbcl' package. Also leaves out manpages. PDF documentation uses TeX, so we won't do that. Use the system's texinfo because the documentation source is too sloppy for texinfo-5.x. << DescPort: << Uses a pre-compiled SBCL binary for bootstrapping. Remove test which fails if there's a directory in / with non-ASCII characters in its name. At one point, the HTML documentation for this package included a file whose name was so long that it was killing dpkg. Thus, the following bit used to be in the InstallScript section, but as of version 1.0.44, it seems not to be needed anymore. I include this because upstream may reintroduce the problem, and we may need to reintroduce our solution. # Due to a limitation with dpkg, we need to kill the following file, # whose name is simply too long. See # # http://article.gmane.org/gmane.os.macosx.fink.devel/18731 # # to learn more about the strangeness that can ensue because of # this limitation of dpkg. # rm %i/share/doc/sbcl/html/sbcl/Method-sb_002dbsd_002dsockets_003asocket_002dmake_002dstream-_0028_0028socket-socket_0029-_0026key-input-output-_0028element_002dtype-_0027character_0029-_0028buffering-full_0029-_0028external_002dformat-default_0029-timeout_0029.html << DescUsage: << NOTE: this package installs in a version-specific private directory %p/opt/sbcl-%type_raw[sbcl] because of upgrade issues involving maxima. You will either need to add %p/opt/sbcl-%type_raw[sbcl]/bin to your PATH or run the executables with full paths. << <<