mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-29 03:34:51 +01:00
32 lines
674 B
Bash
32 lines
674 B
Bash
# Copyright 1999-2014 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
EAPI=5
|
|
|
|
inherit eutils versionator java-pkg-2 java-ant-2
|
|
|
|
DESCRIPTION="Duct Tape for the Java platform"
|
|
HOMEPAGE="http://sleep.dashnine.org/"
|
|
SRC_URI="http://sleep.dashnine.org/download/sleep$(delete_version_separator)-lgpl.tgz"
|
|
|
|
LICENSE="LGPL"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~arm ~x86"
|
|
IUSE=""
|
|
|
|
S="${WORKDIR}/${PN}"
|
|
|
|
DEPEND="dev-java/jsr223
|
|
>=virtual/jdk-1.6"
|
|
|
|
RDEPEND=">=virtual/jre-1.6"
|
|
|
|
src_prepare() {
|
|
find . -name '*.jar' -delete
|
|
java-pkg_jar-from jsr223 script-api.jar jsr223/sleep-engine.jar
|
|
}
|
|
|
|
src_install() {
|
|
java-pkg_newjar ${PN}.jar
|
|
}
|