Commit 3d1d2ca2 authored by Casey Strouse's avatar Casey Strouse Committed by Ed Reel

Add libsass package (#3725)

* Add libsass package

Libsass is a C/C++ port of the Sass engine.

Tested on ARM.

* Abstract libdir using const
parent b161630c
require 'package'
class Libsass < Package
description 'LibSass is a C/C++ port of the Sass engine'
homepage 'https://sass-lang.com/libsass'
version '3.6.3'
source_url 'https://github.com/sass/libsass/archive/3.6.3.tar.gz'
source_sha256 'dadb470bb9141e91b437119d367654427180ed2b3d04b8000eab5b0ca47cd5bb'
binary_url ({
})
binary_sha256 ({
})
def self.build
system 'autoreconf', '-i'
system './configure', "--prefix=#{CREW_PREFIX}", "--libdir=#{CREW_LIB_PREFIX}"
system 'make'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment