mirror of
https://github.com/gryf/gryf-overlay.git
synced 2026-02-28 06:45:49 +01:00
Added ebuild for JacaScript lint
This commit is contained in:
2
dev-util/jsl/Manifest
Normal file
2
dev-util/jsl/Manifest
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
DIST jsl-0.3.0-src.tar.gz 924756 RMD160 8527738a1ae1dea7626c40da01dc94f502fa3fcb SHA1 f27ec18d1dd325f895bc1682d7be8872c213a986 SHA256 86f16792d71fc59b96f65eca65b1b7466dc046efe6d5ac04c6632f1315e83cfa
|
||||||
|
EBUILD jsl-0.3.0.ebuild 719 RMD160 4761ab864045de82dce821ab7e8f2f0fd0db9a6f SHA1 4649684698e9f6b5b0ffde0851a61db5188fe54f SHA256 b9ce2987641f57899dbed4825045af998d1e5a8f715b63b8aef18873a353d627
|
||||||
36
dev-util/jsl/jsl-0.3.0.ebuild
Normal file
36
dev-util/jsl/jsl-0.3.0.ebuild
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
# Copyright 1999-2008 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: $
|
||||||
|
|
||||||
|
inherit eutils
|
||||||
|
|
||||||
|
DESCRIPTION="Check your JavaScript source code for common mistakes."
|
||||||
|
HOMEPAGE="http://javascriptlint.com/"
|
||||||
|
SRC_URI="http://javascriptlint.com/download/${P}-src.tar.gz"
|
||||||
|
LICENSE="GPL"
|
||||||
|
|
||||||
|
IUSE=""
|
||||||
|
KEYWORDS="x86 ~amd64"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
DEPEND=""
|
||||||
|
RDEPEND=""
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
cd "${S}/src"
|
||||||
|
emake -j1 -f Makefile.ref|| die "Make failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
cd "${S}/src/Linux_All_DBG.OBJ"
|
||||||
|
exeinto "/usr/bin"
|
||||||
|
doexe "jsl"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
einfo
|
||||||
|
einfo "Run jsl -help:conf to get a sample config file"
|
||||||
|
einfo "For further information, check http://javascriptlint.com/docs/index.htm"
|
||||||
|
einfo
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user