diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-libs/jmol-acme |
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-libs/jmol-acme')
-rw-r--r-- | sci-libs/jmol-acme/Manifest | 6 | ||||
-rw-r--r-- | sci-libs/jmol-acme/files/src.list | 4 | ||||
-rw-r--r-- | sci-libs/jmol-acme/jmol-acme-1.0.ebuild | 40 | ||||
-rw-r--r-- | sci-libs/jmol-acme/metadata.xml | 8 |
4 files changed, 58 insertions, 0 deletions
diff --git a/sci-libs/jmol-acme/Manifest b/sci-libs/jmol-acme/Manifest new file mode 100644 index 000000000000..673b7bf45ab3 --- /dev/null +++ b/sci-libs/jmol-acme/Manifest @@ -0,0 +1,6 @@ +AUX src.list 115 SHA256 14f9bbf65ef25555840c8551df9caba3fe80015bc334e83d178b7296167d3a97 SHA512 3e9a0dc4aa7890554ab66c6e9cbf60287e3c37b45cfc73ccee6f0078cb0f7a267c5eeed07e0bae91fa39759cf15dd794e278058506760ebce4e617963b391f6d WHIRLPOOL 26b40d4aa42f2b049b2bd0efe62601f9ef6528fee4fbed51a15e2d1dfc02b86dd3738667361ae6a11be977474f9ce11e9a3125812b771e4481eaf6005b2a0bac +DIST Acme.tar.gz 478667 SHA256 6becb7e097bc9a3c7b39a42aaf8dd9ce8d35508b5221c3076e0c1e060ecc688c SHA512 cf172ce6d341d9a559ef8db837a7c163fb494d5629d2738279b2b0b68bf8874303e37d72c519171a885efca9a1505345f454e434f6f578d370bef961cb7a4d46 WHIRLPOOL ffca0e40e7070b3d31ba3e519f3d873e7d86604bb9b0af454b11ee3d5b60598ddbe9d38d3d0aa3703c59fbfa4779337927ee105f08fc3f7ea54d4e6354e2954f +EBUILD jmol-acme-1.0.ebuild 873 SHA256 f8ea8d5506c2b955a3b155d24349f8ba387e1270ec336481e306436264e2cd5c SHA512 a04c66a90033b979d17e427689455247b8700a8d1ffb4f13c3f1720e54c90ca2151d32af278568393fe1ddaa2d5b1e96323973bf246788783c17342a27645ca9 WHIRLPOOL b70006146bc258a0fc0dce2ffb022465d2882df48f365f78733f23699de81de4eca16266fd098bfb4e7ea5e0f8314973b6a7060700d5775928491afa146e168e +MISC ChangeLog 2567 SHA256 717a22cfe2162ff1fc793db2c0f3b41e1656d6b1bc3fccf09499f3e09162c084 SHA512 d02af26fe55c49f519c473c6b35c04be13f9a3192a9d0fe94dc3a06a2d49ca33e6800ca48c4a7f2bb670fe3d2cc6c9d70a3a9261b4820dc97cf5d191df2c75e2 WHIRLPOOL b38e8898759c2e4247144f2a1b737e66dddf68d5fa80ab71374044311f8054636bf6bf50f2886a84786c5931b44861325474c848a0da852feed2795b306e5d28 +MISC ChangeLog-2015 838 SHA256 ae6c5315f75c5fea9b5a02af3fc9af3bcdc0d0842d6ed2e530c519cb10117f7d SHA512 5b546bcf16de13d9d05e7c53e5ee9fe70634edce09426ba7d2c3221ae1d507bbdbd786c8d416667599cc31ef07afa1a58ac47a497a1988b8fc9364b123814e19 WHIRLPOOL 03ce518df3d7010063253c090eff4617803a1295808d9e721c59fb0ccf0e87f8b763b1cae92c66b8dc57f79ee4b28080fc64a83f225a60f8be2412e1e3d49686 +MISC metadata.xml 253 SHA256 45344b6a377f639b56950e98338690fa1e0c5b51d2bf174635aff3b025b7e616 SHA512 819062e1ccefa39fc7f577279b08e781b9631eb14b7794db691ab92263c013ca432d279ac08671b19c80f7effb8c67528e5221278c573dd29dc0354bbff4a77e WHIRLPOOL 73680e667729b1d31cac7b2b730a5d94195071c96383438c66c4a94e445fe874e78d3e5e2c9c5a6d77406dc392eab967595402e063e557f9a3680714d709e830 diff --git a/sci-libs/jmol-acme/files/src.list b/sci-libs/jmol-acme/files/src.list new file mode 100644 index 000000000000..14d1fc028561 --- /dev/null +++ b/sci-libs/jmol-acme/files/src.list @@ -0,0 +1,4 @@ +./IntHashtable.java +./JPM/Encoders/GifEncoder.java +./JPM/Encoders/ImageEncoder.java +./JPM/Encoders/PpmEncoder.java diff --git a/sci-libs/jmol-acme/jmol-acme-1.0.ebuild b/sci-libs/jmol-acme/jmol-acme-1.0.ebuild new file mode 100644 index 000000000000..30ad53ef215f --- /dev/null +++ b/sci-libs/jmol-acme/jmol-acme-1.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit java-pkg-2 java-ant-2 + +MY_P="Acme" + +# It proved difficult to recompile the whole Acme package, so we'll only take what we need. + +DESCRIPTION="Portions of the Acme collection required for jMol" +HOMEPAGE="http://www.acme.com/" +SRC_URI="http://www.acme.com/resources/classes/${MY_P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=virtual/jdk-1.4" +RDEPEND=">=virtual/jre-1.4" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + mkdir -p classes + find . -name \*.class -delete + java-pkg_filter-compiler jikes +} + +src_compile() { + cp "${FILESDIR}/src.list" "${T}" || die + ejavac -sourcepath "" -d "${S}/classes" "@${T}/src.list" + jar cf "${PN}.jar" -C classes . || die "failed to create jar" +} + +src_install() { + java-pkg_dojar ${PN}.jar +} diff --git a/sci-libs/jmol-acme/metadata.xml b/sci-libs/jmol-acme/metadata.xml new file mode 100644 index 000000000000..ae9640ffb9f1 --- /dev/null +++ b/sci-libs/jmol-acme/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>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> +</pkgmetadata> |