+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="A C/C++ implementation of a Sass compiler"
+HOMEPAGE="http://sass-lang.com/libsass"
+SRC_URI="https://github.com/sass/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT-with-advertising"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_prepare()
+{
+ export LIBSASS_VERSION="${PV}"
+ default
+ eautoreconf
+}
+
+src_configure()
+{
+ econf --disable-static --enable-shared
+}