From 40056295f889876990d17308770cab3050137684 Mon Sep 17 00:00:00 2001 From: Thomas Hintz Date: Tue, 2 Aug 2011 22:00:19 -0700 Subject: [PATCH] Added chicken-install setup info. --- amazon-s3.meta | 15 +++++++++++++++ amazon-s3.setup | 15 +++++++++++++++ tests/run.scm | 5 +---- 3 files changed, 31 insertions(+), 4 deletions(-) create mode 100644 amazon-s3.meta create mode 100644 amazon-s3.setup diff --git a/amazon-s3.meta b/amazon-s3.meta new file mode 100644 index 0000000..dd49240 --- /dev/null +++ b/amazon-s3.meta @@ -0,0 +1,15 @@ +; author: Thomas Hintz +; email: t@thintz.com +; license: bsd + +( +(license "BSD") + +(category cryptography) + +(needs base64 sha1 http-client uri-common intarweb srfi-19 hmac ssax sxpath) + +(test-depends test srfi-1) + +(author "Thomas Hintz") +(synopsis "Provides an interface to the Amazon S3 service.")) \ No newline at end of file diff --git a/amazon-s3.setup b/amazon-s3.setup new file mode 100644 index 0000000..c45e076 --- /dev/null +++ b/amazon-s3.setup @@ -0,0 +1,15 @@ +; author: Thomas Hintz +; email: t@thintz.com +; license: bsd + +(compile -s -O2 -d1 amazon-s3.scm -j amazon-s3) +(compile -s amazon-s3.import.scm -O2 -d0) +(compile -c -O2 -d1 amazon-s3.scm -unit amazon-s3 -j amazon-s3) + +(install-extension + 'amazon-s3 + ; Files to install for your extension: + '("amazon-s3.o" "amazon-s3.so" "amazon-s3.import.so") + ; Assoc list with properties for your extension: + '((version 2) + (static "amazon-s3.o"))) ;; for static linking \ No newline at end of file diff --git a/tests/run.scm b/tests/run.scm index eba9178..571a128 100644 --- a/tests/run.scm +++ b/tests/run.scm @@ -2,10 +2,7 @@ ; email: t@thintz.com ; license: bsd -(load "amazon-s3.scm") - -(use test srfi-1) -(use amazon-s3) +(use test srfi-1 amazon-s3) (define *b* "chicken-scheme-test-bucket")