Sha256: 23bf4f140e1a3a76bdd035ff201e3d486c1f75fc31ae49594311f86fa979bd2a

Contents?: true

Size: 1.25 KB

Versions: 64

Compression:

Stored size: 1.25 KB

Contents

Here are two ebuilds to compile LibSass and sassc on gentoo linux. If you do not know how to use these ebuilds, you should probably read the gentoo wiki page about [portage overlays](http://wiki.gentoo.org/wiki/Overlay).

## www-misc/libsass/libsass-9999.ebuild
```ebuild
EAPI=4

inherit eutils git-2 autotools

DESCRIPTION="A C/C++ implementation of a Sass compiler."
HOMEPAGE="http://libsass.org/"
EGIT_PROJECT='libsass'
EGIT_REPO_URI="https://github.com/sass/libsass.git"
LICENSE="MIT"
SLOT="0"
KEYWORDS=""
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
DEPEND="${DEPEND}"

pkg_pretend() {
    # older gcc is not supported
    local major=$(gcc-major-version)
    local minor=$(gcc-minor-version)
    [[ "${MERGE_TYPE}" != "binary" && ( $major > 4 || ( $major == 4 && $minor < 5 ) ) ]] && \
        die "Sorry, but gcc earlier than 4.5 will not work for LibSass."
}

src_prepare() {
   eautoreconf
}
```

## www-misc/sassc/sassc-9999.ebuild
```ebuild
EAPI=4

inherit eutils git-2 autotools

DESCRIPTION="Command Line Tool for LibSass."
HOMEPAGE="http://libsass.org/"
EGIT_PROJECT='sassc'
EGIT_REPO_URI="https://github.com/sass/sassc.git"
LICENSE="MIT"
SLOT="0"
KEYWORDS=""
IUSE=""
DEPEND="www-misc/libsass"
RDEPEND="${DEPEND}"
DEPEND="${DEPEND}"

src_prepare() {
   eautoreconf
}
```

Version data entries

64 entries across 62 versions & 17 rubygems

Version Path
optimacms-0.1.61 spec/dummy/node_modules/@rails/webpacker/node_modules/node-sass/src/libsass/docs/build-on-gentoo.md
optimacms-0.1.61 spec/dummy/node_modules/node-sass/src/libsass/docs/build-on-gentoo.md
disco_app-0.18.0 test/dummy/node_modules/node-sass/src/libsass/docs/build-on-gentoo.md
disco_app-0.18.2 test/dummy/node_modules/node-sass/src/libsass/docs/build-on-gentoo.md
tang-0.2.1 spec/tang_app/node_modules/node-sass/src/libsass/docs/build-on-gentoo.md
groonga-client-model-6.0.0 test/apps/rails6.1.3/node_modules/node-sass/src/libsass/docs/build-on-gentoo.md
groonga-client-model-6.0.0 test/apps/rails6.0.3.5/node_modules/node-sass/src/libsass/docs/build-on-gentoo.md
ruby2js-4.0.4 lib/tasks/testrails/node_modules/node-sass/src/libsass/docs/build-on-gentoo.md
ruby2js-4.0.3 lib/tasks/testrails/node_modules/node-sass/src/libsass/docs/build-on-gentoo.md
tang-0.2.0 spec/tang_app/node_modules/node-sass/src/libsass/docs/build-on-gentoo.md
tang-0.1.0 spec/tang_app/node_modules/node-sass/src/libsass/docs/build-on-gentoo.md
tang-0.0.9 spec/tang_app/node_modules/node-sass/src/libsass/docs/build-on-gentoo.md
enju_library-0.3.8 spec/dummy/node_modules/node-sass/src/libsass/docs/build-on-gentoo.md
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/sassc-2.0.0/ext/libsass/docs/build-on-gentoo.md
ilog-0.4.1 node_modules/node-sass/src/libsass/docs/build-on-gentoo.md
ilog-0.4.0 node_modules/node-sass/src/libsass/docs/build-on-gentoo.md
ilog-0.3.3 node_modules/node-sass/src/libsass/docs/build-on-gentoo.md
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/sassc-2.0.1/ext/libsass/docs/build-on-gentoo.md
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/sassc-2.0.1/ext/libsass/docs/build-on-gentoo.md
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/sassc-2.0.1/ext/libsass/docs/build-on-gentoo.md