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-chemistry/povscript+/povscript+-2.1.2.2.20.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-chemistry/povscript+/povscript+-2.1.2.2.20.ebuild')
-rw-r--r-- | sci-chemistry/povscript+/povscript+-2.1.2.2.20.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/sci-chemistry/povscript+/povscript+-2.1.2.2.20.ebuild b/sci-chemistry/povscript+/povscript+-2.1.2.2.20.ebuild new file mode 100644 index 000000000000..905006c1d66c --- /dev/null +++ b/sci-chemistry/povscript+/povscript+-2.1.2.2.20.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils versionator + +V1=$(get_version_component_range 1 ${PV}) +V2=$(get_version_component_range 2 ${PV}) +V3=$(get_version_component_range 3 ${PV}) +V4=$(get_version_component_range 4 ${PV}) +V5=$(get_version_component_range 5 ${PV}) + +MY_P=molscript-${V1}.${V2}.${V3}pov${V4}.${V5} + +DESCRIPTION="Modified molscript that uses POV-Ray, does thermal ellipsoids, and more" +HOMEPAGE="https://sites.google.com/site/timfenn/povscript" +SRC_URI="https://sites.google.com/site/timfenn/povscript/${MY_P}.tar.gz" + +SLOT="0" +LICENSE="glut molscript" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND=" + dev-libs/glib:2 + media-libs/freeglut + media-libs/giflib + >=media-libs/libpng-1.4:0= + sci-libs/gts + sys-libs/zlib + virtual/glu + virtual/jpeg:0 + virtual/opengl + x11-libs/libX11" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-2.1.2.2.19-libpng15.patch +} + +src_install() { + default + + cd "${ED}"/usr/bin || die + mv molscript povscript+ || die + mv molauto povauto+ || die +} + +pkg_postinst() { + elog "You must install media-gfx/povray to use the POV backend," + elog "which is one of the main features of this over molscript." +} |