diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-misc/jitac | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-misc/jitac')
-rw-r--r-- | app-misc/jitac/Manifest | 3 | ||||
-rw-r--r-- | app-misc/jitac/jitac-0.3.0.ebuild | 43 | ||||
-rw-r--r-- | app-misc/jitac/metadata.xml | 8 |
3 files changed, 54 insertions, 0 deletions
diff --git a/app-misc/jitac/Manifest b/app-misc/jitac/Manifest new file mode 100644 index 000000000000..7f369c2432b8 --- /dev/null +++ b/app-misc/jitac/Manifest @@ -0,0 +1,3 @@ +DIST jitac-0.3.0.src.jar 141514 BLAKE2B 7f8028f2971c55d84710a232f32f187f3239e08461e9c534ad5d014f19741c088cd3a294ed1705ef7a940d94163788fd9749b037385c91c2d1b4c639e18d9dbd SHA512 8a21e80246e450c9afb7e92cad14b8901fab7e039a7312df0b87cdab307c68a3db8a1090cb044b74c50eee47dd480f8c8d1465111e2f508584d38c9ef31511f8 +EBUILD jitac-0.3.0.ebuild 970 BLAKE2B 38bbe49ed817eb37e21ecdc66016f790f9570d86d6e50548a06d6aa077a26f4a63a2be4280ce5435eaf33dcbe46f4c7d61397caf1d1d119baef2ce1c2e31a9e9 SHA512 8fa777453cc7791b9d1fd3e962b0a940738c9d5ed6c9f2523b5096841b412dd4cc768b9756e520a703ddd8597fdcc1dbc8de9855b71bdbc76c4abfa523e68883 +MISC metadata.xml 232 BLAKE2B 513679b02247d8e4cb4c874abd785119d9ca62ad24c44969d52a42c3765d0ebf689024512a2c4c48e69688a4ce02a74ae05708b050a720bc73d8d2bf2ceff58d SHA512 00beaf2c81112ff757c4395f4ea47e85f2d48e369e241f10ddf200090dd6513d52ae2b1aef6d28b7417f1cf34608a7258a167eb307d5670323a2190f3710f893 diff --git a/app-misc/jitac/jitac-0.3.0.ebuild b/app-misc/jitac/jitac-0.3.0.ebuild new file mode 100644 index 000000000000..7028a28a9b34 --- /dev/null +++ b/app-misc/jitac/jitac-0.3.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit java-pkg-2 + +DESCRIPTION="An image to ASCII converter written in Java" +HOMEPAGE="http://www.roqe.org/jitac/" +SRC_URI="http://www.roqe.org/jitac/${P}.src.jar" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="doc" + +COMMON_DEP=" + dev-java/sun-jimi:0" +RDEPEND="${COMMON_DEP} + >=virtual/jre-1.5" +DEPEND="${COMMON_DEP} + >=virtual/jdk-1.5" + +S=${WORKDIR} + +src_unpack() { + jar -xvf "${DISTDIR}"/${A} || die "failed to unpack" +} + +src_compile() { + ejavac -classpath $(java-pkg_getjars sun-jimi):. $(find -name *.java) + find . -name "*.class" -or -name "*.bdf" \ + -or -name "*.properties" -or -name "README" \ + | xargs jar -cf ${PN}.jar || die "failed to create jar" +} + +src_install() { + java-pkg_dojar ${PN}.jar + java-pkg_dolauncher ${PN} --main org.roqe.jitac.Jitac + + dodoc org/roqe/jitac/README + use doc && java-pkg_dohtml -r org/roqe/jitac/docs/* +} diff --git a/app-misc/jitac/metadata.xml b/app-misc/jitac/metadata.xml new file mode 100644 index 000000000000..2444066aa02b --- /dev/null +++ b/app-misc/jitac/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> +</maintainer> +</pkgmetadata> |