Blame docs/build-on-gentoo.md

Packit Service 7770af
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).
Packit Service 7770af
Packit Service 7770af
## www-misc/libsass/libsass-9999.ebuild
Packit Service 7770af
```ebuild
Packit Service 7770af
EAPI=4
Packit Service 7770af
Packit Service 7770af
inherit eutils git-2 autotools
Packit Service 7770af
Packit Service 7770af
DESCRIPTION="A C/C++ implementation of a Sass compiler."
Packit Service 7770af
HOMEPAGE="http://libsass.org/"
Packit Service 7770af
EGIT_PROJECT='libsass'
Packit Service 7770af
EGIT_REPO_URI="https://github.com/sass/libsass.git"
Packit Service 7770af
LICENSE="MIT"
Packit Service 7770af
SLOT="0"
Packit Service 7770af
KEYWORDS=""
Packit Service 7770af
IUSE=""
Packit Service 7770af
DEPEND=""
Packit Service 7770af
RDEPEND="${DEPEND}"
Packit Service 7770af
DEPEND="${DEPEND}"
Packit Service 7770af
Packit Service 7770af
pkg_pretend() {
Packit Service 7770af
    # older gcc is not supported
Packit Service 7770af
    local major=$(gcc-major-version)
Packit Service 7770af
    local minor=$(gcc-minor-version)
Packit Service 7770af
    [[ "${MERGE_TYPE}" != "binary" && ( $major > 4 || ( $major == 4 && $minor < 5 ) ) ]] && \
Packit Service 7770af
        die "Sorry, but gcc earlier than 4.5 will not work for LibSass."
Packit Service 7770af
}
Packit Service 7770af
Packit Service 7770af
src_prepare() {
Packit Service 7770af
   eautoreconf
Packit Service 7770af
}
Packit Service 7770af
```
Packit Service 7770af
Packit Service 7770af
## www-misc/sassc/sassc-9999.ebuild
Packit Service 7770af
```ebuild
Packit Service 7770af
EAPI=4
Packit Service 7770af
Packit Service 7770af
inherit eutils git-2 autotools
Packit Service 7770af
Packit Service 7770af
DESCRIPTION="Command Line Tool for LibSass."
Packit Service 7770af
HOMEPAGE="http://libsass.org/"
Packit Service 7770af
EGIT_PROJECT='sassc'
Packit Service 7770af
EGIT_REPO_URI="https://github.com/sass/sassc.git"
Packit Service 7770af
LICENSE="MIT"
Packit Service 7770af
SLOT="0"
Packit Service 7770af
KEYWORDS=""
Packit Service 7770af
IUSE=""
Packit Service 7770af
DEPEND="www-misc/libsass"
Packit Service 7770af
RDEPEND="${DEPEND}"
Packit Service 7770af
DEPEND="${DEPEND}"
Packit Service 7770af
Packit Service 7770af
src_prepare() {
Packit Service 7770af
   eautoreconf
Packit Service 7770af
}
Packit Service 7770af
```