You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
672 B
30 lines
672 B
6 years ago
|
# Copyright 1999-2018 Gentoo Foundation
|
||
9 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
6 years ago
|
EAPI=6
|
||
9 years ago
|
|
||
|
inherit java-pkg-2
|
||
|
|
||
|
MY_P="hawtjni-project-${PV}"
|
||
|
|
||
|
DESCRIPTION="Maven plugin for the HawtJNI code generator (resources only)"
|
||
|
HOMEPAGE="https://github.com/fusesource/hawtjni"
|
||
|
SRC_URI="https://github.com/fusesource/hawtjni/archive/${MY_P}.tar.gz"
|
||
|
LICENSE="Apache-2.0"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~amd64 ~x86"
|
||
|
|
||
6 years ago
|
DEPEND=">=virtual/jdk-1.8"
|
||
|
RDEPEND=">=virtual/jre-1.8"
|
||
9 years ago
|
|
||
|
S="${WORKDIR}/hawtjni-${MY_P}/${PN}"
|
||
|
|
||
|
src_compile() {
|
||
|
touch ${PN}.jar || die # jar won't create on update.
|
||
|
java-pkg_addres ${PN}.jar src/main/resources
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
java-pkg_dojar ${PN}.jar
|
||
|
}
|