;;; slatex.setup -*- scheme -*- ;; Increase version after the dot for egg-only changes (define slatex-version "20090928.0") (standard-extension 'slatex slatex-version) ;; Compile and install the wrapper application (define style-path (list (installation-prefix) "share" "chicken" "slatex")) (compile -O2 slatex-program.scm -o slatex) (install-program 'slatex '("slatex") `((version ,slatex-version))) (copy-file "slatex.sty" (make-pathname style-path "slatex.sty")) (copy-file "slatex-chicken.sty" (make-pathname style-path "slatex-chicken.sty")) (copy-file "cltl.sty" (make-pathname style-path "cltl.sty"))