dev-util/less - 2.7.1 (blshkv)

Search

Install

Install this version:

emerge -a =dev-util/less-2.7.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-util/less-2.7.1

Or alternatively:

emerge --autounmask-write -a =dev-util/less-2.7.1

Package Information

Description:
Leaner CSS
Homepage:
http://lesscss.org/
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
2.7.1 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Leaner CSS"
HOMEPAGE="http://lesscss.org/"
SRC_URI="https://github.com/${PN}/${PN}.js/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"

IUSE=""

RDEPEND=">=net-libs/nodejs-0.4.2"
DEPEND="${RDEPEND}"

S="${WORKDIR}/${PN}.js-${PV}"

src_compile() {
	:
}

src_install() {
	# Ugly but package does not provide a clean way to install itself,
	# needs npm
	insinto usr/lib/${PN}/
	doins -r lib bin

	chmod +x "${D}"/usr/lib/${PN}/bin/lessc
	dosym "${D}"/usr/lib/${PN}/bin/lessc usr/bin/lessc

	dodoc README.md CONTRIBUTING.md CHANGELOG.md
}

Dependencies

DEPEND

>=net-libs/nodejs-0.4.2

RDEPEND

>=net-libs/nodejs-0.4.2

Manifest for 2.7.1

Type File Size Source URLs
DIST less-2.7.1.tar.gz 487934 bytes https://github.com/less/less.js/archive/v2.7.1.tar.gz