diff options
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/processing-bin/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/processing-bin/metadata.xml | 8 | ||||
-rw-r--r-- | media-gfx/processing-bin/processing-bin-2.1.1.ebuild | 39 |
3 files changed, 48 insertions, 0 deletions
diff --git a/media-gfx/processing-bin/Manifest b/media-gfx/processing-bin/Manifest new file mode 100644 index 0000000..f47bb3c --- /dev/null +++ b/media-gfx/processing-bin/Manifest @@ -0,0 +1 @@ +DIST processing-2.1.1-linux64.tgz 101293471 SHA256 e1799b9ec86633f4fd2c45905d6ac7897f14b1de4ea4913d7ad5b3b8956917d7 SHA512 9fdda892ce1fc49b01010e9da349496fe2049c100c2999b87a01afef07455575c5855bdca0f678676ac49ae3e1acba3bdbc1b123efb8c711900dd7e68cfb1952 WHIRLPOOL 2003068de32f8c8f635c92f1f9a687065906b10df9fe70d83c67116ec08fca112a0f14962ad41b54469f1dde18d4cbfe8782421ded811274bd79ecdb9d9b0f35 diff --git a/media-gfx/processing-bin/metadata.xml b/media-gfx/processing-bin/metadata.xml new file mode 100644 index 0000000..16bcc9f --- /dev/null +++ b/media-gfx/processing-bin/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> + <email>sping@gentoo.org</email> + <name>Sebastian Pipping</name> + </maintainer> +</pkgmetadata> diff --git a/media-gfx/processing-bin/processing-bin-2.1.1.ebuild b/media-gfx/processing-bin/processing-bin-2.1.1.ebuild new file mode 100644 index 0000000..e9daf2b --- /dev/null +++ b/media-gfx/processing-bin/processing-bin-2.1.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="4" + +MY_PN='processing' +MY_P="${MY_PN}-${PV}" +DESCRIPTION="Visual context programming language" +HOMEPAGE="https://www.processing.org/" +SRC_URI="amd64? ( http://download.processing.org/${MY_P}-linux64.tgz )" + +LICENSE="all-rights-reserved" # actually not, TODO +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="" +RDEPEND="" + +S="${WORKDIR}/${MY_P}" +RESTRICT="strip" + +src_install() { + local dest=/opt/${MY_P} + + dodir ${dest} + insinto ${dest} + doins -r . + + dodir /usr/bin + for command in processing processing-java ; do + dosym ${dest}/${command} /usr/bin/${command} || die + done + + # Cannot use fperms with wildcards, it seems + chmod a+x "${D}"/${dest}/java/bin/* || die + chmod a+x "${D}"/${dest}/processing* || die +} |