the Fink project is an effort to port
popular Unix programs to Mac OS X
Info2: <<
Package: sbcl-%type_pkg[sbcl]-maxima
Type: sbcl (1.0.56), intelbs (1.0.48), ppcbs (1.0.47)
Version: 1.0.56
Revision: 1
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 does not automatically
# change when the version field is updated. CompileScript and Source2
# need to be updated by hand when moving to a new version of the
# bootstap binary
BuildDepends: texinfo (>= 4.6)
Recommends: gnupg | gnupg-idea | gnupg-testing
Source: mirror:sourceforge:sbcl/sbcl-%v-source.tar.bz2
Source-MD5: f9ba54b20f057e6eb5857929bb259142
Source2: mirror:sourceforge:sbcl/sbcl-%type_raw[intelbs]-x86-64-darwin-binary.tar.bz2
Source2-MD5: 74573cc8d4670c1f3bd733a5875a1a75
Source3: mirror:sourceforge:sbcl/sbcl-%type_raw[intelbs]-x86-darwin-binary.tar.bz2
Source3-MD5: 5a3fe53829c6c9f589f17db31210e2ce
Source4: mirror:sourceforge:sbcl/sbcl-%type_raw[ppcbs]-powerpc-darwin-binary.tar.bz2
Source4-MD5: 02747afc7631a7ccdeede4b52b78072d
SourceDirectory: sbcl-%v
PatchScript: perl -pi -e 's|\(deftest readdir.1|#-darwin\n$&|' contrib/sb-posix/posix-tests.lisp
CompileScript: <<
#!/bin/sh -ev
case "%m" in
"x86_64" )
mym=x86-64
export SBCL=ARCH=$mym
bootstrapper=%type_raw[intelbs] ;;
"i386" )
mym=x86
export SBCL_ARCH=$mym
bootstrapper=%type_raw[intelbs] ;;
"powerpc" )
mym=%m
bootstrapper=%type_raw[ppcbs] ;;
esac
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\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 build info files, because of overlap with normal 'sbcl' package.
Also leaves out manpages. PDF documentation uses TeX, so we won't do that.
Doesn't use threading from 'sbcl' because maxima doesn't like it.
As of 1.0.54: unify powerpc, i386, and x86_64 builds into one
package description. This means downloading 3 separate bootstrap
binaries, but avoids the annoyance of separate .info files.
<<
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.
<<
<<