the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: slib3-gu18
Version: 3b3
Revision: 1
Type: nosource
Depends: guile18, slib3 (>= %v-1)
CompileScript: <<
echo
<<
InstallScript: <<
install -d -m 755 %i/share/guile/1.8
install -d -m 755 %i/share/doc/%n
ln -s %p/share/slib3 %i/share/guile/1.8/slib
echo "Placed in the Public Domain" > %i/share/doc/%n/COPYING
<<
Description: Portable scheme library for guile18
PostInstScript: <<
case "$1" in
configure)
## Generate slibcat
guile-1.8 -c '(use-modules (ice-9 slib))(load "%p/share/slib3/mklibcat.scm")'
;;
esac
<<
PostRmScript: <<
case "$1" in
remove|purge)
## remove slibcat
if test -f %p/share/guile/1.8/slibcat; then
rm %p/share/guile/1.8/slibcat
fi
;;
esac
<<
License: Public Domain
Maintainer: Dave Reiser
Homepage: http://www-swiss.ai.mit.edu/~jaffer/SLIB.html