mirror of
https://github.com/gryf/gryf-overlay.git
synced 2026-03-12 22:15:50 +01:00
Added last version of KickAssembler 3 line
This commit is contained in:
41
dev-lang/KickAssembler/KickAssembler-3.42.ebuild
Normal file
41
dev-lang/KickAssembler/KickAssembler-3.42.ebuild
Normal file
@@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit java-pkg-2
|
||||
|
||||
DESCRIPTION="Cross assembler for 6510 code"
|
||||
HOMEPAGE="http://www.theweb.dk/KickAssembler/Main.php"
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
SRC_URI="http://www.theweb.dk/KickAssembler/${PN}.zip"
|
||||
else
|
||||
SRC_URI="http://www.theweb.dk/KickAssembler/${PN}${PV}.zip"
|
||||
fi
|
||||
|
||||
LICENSE=""
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=virtual/jre-1.8"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
THENAME="KickAss"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_install() {
|
||||
java-pkg_jarinto /opt/${PN}
|
||||
java-pkg_newjar ${THENAME}.jar ${THENAME}.jar
|
||||
java-pkg_dolauncher \
|
||||
${PN} \
|
||||
--jar /opt/${PN}/${THENAME}.jar \
|
||||
-into /opt
|
||||
|
||||
#into /opt/${PN}
|
||||
cp -a "${S}/Examples" ${D}/opt/${PN} || die "Failed to copy examples"
|
||||
cp "${S}/${THENAME}.cfg" ${D}/opt/${PN} || die "Failed to copy config"
|
||||
docinto KickAssembler.pdf /opt/${PN}
|
||||
}
|
||||
Reference in New Issue
Block a user