diff options
| author | Joshua Bussdieker | 2013-12-20 15:07:10 -0500 |
|---|---|---|
| committer | Mike McQuaid | 2013-12-21 12:33:07 +0000 |
| commit | 80bddcb0882f2ce103bdfaebcd5cafe86a6248ea (patch) | |
| tree | 073ec41613511d912185e63f7ebc8f0190ce344d /Library/Formula | |
| parent | b0df1245cdd232ce85123044a08abc28085a5734 (diff) | |
| download | homebrew-80bddcb0882f2ce103bdfaebcd5cafe86a6248ea.tar.bz2 | |
libsass 1.0.1
Closes #25362.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/libsass.rb | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/Library/Formula/libsass.rb b/Library/Formula/libsass.rb index 005101446..3cc493f9c 100644 --- a/Library/Formula/libsass.rb +++ b/Library/Formula/libsass.rb @@ -2,10 +2,15 @@ require 'formula' class Libsass < Formula homepage 'https://github.com/hcatlin/libsass' - url 'https://github.com/hcatlin/libsass/archive/RELEASE-1.0.tar.gz' - sha1 '55a8775f2ae430f24b03964b3aa8e2a3565d613a' + url 'https://github.com/hcatlin/libsass/archive/v1.0.1.tar.gz' + sha1 '9524e028bc8ebe84e36895269d07ecc7db496c7c' + + depends_on :autoconf + depends_on :automake + depends_on :libtool def install + system "autoreconf -i" system "./configure", "--prefix=#{prefix}" system "make install" end @@ -18,8 +23,13 @@ class Libsass < Formula int main() { struct sass_context* sass_ctx = sass_new_context(); + struct sass_options options; + options.output_style = SASS_STYLE_NESTED; + options.source_comments = 0; + options.image_path = "images"; + options.include_paths = ""; sass_ctx->source_string = "a { color:blue; &:hover { color:red; } }"; - sass_ctx->options.output_style = SASS_STYLE_NESTED; + sass_ctx->options = options; sass_compile(sass_ctx); if(sass_ctx->error_status) { return 1; |
