profile: gradle keywords

This commit is contained in:
blshkv 2020-07-21 11:04:39 +08:00
parent f4f715d30b
commit 6d06b8d1ab
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
2 changed files with 1 additions and 39 deletions

View file

@ -1,38 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MY_P="burpsuite_community_v${PV}.jar"
DESCRIPTION="Interactive proxy for attacking and debugging web applications"
HOMEPAGE="https://portswigger.net/burp/"
SRC_URI="https://portswigger.net/burp/releases/download?product=community&version=${PV} -> ${MY_P}"
LICENSE="BURP"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND=""
RDEPEND="|| ( virtual/jre virtual/jdk )"
S=${WORKDIR}
src_unpack() {
cp "${DISTDIR}/${A}" "${S}"
}
src_install() {
dodir /opt/"${PN}"
insinto /opt/"${PN}"
doins "${MY_P}"
# echo -e "#!/bin/sh\njava -Xmx2G -jar /opt/${PN}/${MY_P} >/dev/null 2>&1 &\n" > "${PN}"
# dobin ${PN}
newbin - ${PN} <<-EOF
#!/bin/sh
java -Xmx2G -jar /opt/${PN}/${MY_P} >/dev/null 2>&1 &
EOF
}

View file

@ -13,7 +13,7 @@ dev-java/msgpack:8.16
=dev-java/jackson-annotations-2.8*
=dev-java/jackson-databind-2.8*
dev-java/gradle-bin:5.2.1
=dev-java/gradle-bin-6*
dev-java/oracle-jdk-bin:11