((synopsis "Hygienic MATCH replacement") (license "Public Domain") (category lang-exts) ;; This is plural now and allows multiple values (authors "Alex Shinn") ;; Versions are per egg now rather than per installed extension / program (version "3.3") (components ;; long form (extension matchable (dependencies "matchable.scm") (artifacts (compiled-library "matchable") ;; (compiled-library "matchable.import") (import-library "matchable")) (build-static (lambda (...) ...)) (build (lambda (self dependencies) (let* ((module (alist-ref 'name self)) (import-file (make-pathname (symbol->string module) "import" "scm"))) (compile -O3 -d1 -j ,module -s ,(alist-ref 'source-file self)) (compile -O3 -d1 ,import-file)))))))