From 70109f9e710d43234a0dd5e52bfaadc3783edccc Mon Sep 17 00:00:00 2001 From: PPed72 Date: Fri, 23 Dec 2016 16:03:47 +0100 Subject: sci-mathematics/gimps: revbump for new version Gentoo-bug: https://bugs.gentoo.org/show_bug.cgi?id=603408 Signed-off-by: Michael Orlitzky --- sci-mathematics/gimps/gimps-28.10-r1.ebuild | 68 +++++++++++++++++++++++++++++ sci-mathematics/gimps/gimps-28.10.ebuild | 68 ----------------------------- 2 files changed, 68 insertions(+), 68 deletions(-) create mode 100644 sci-mathematics/gimps/gimps-28.10-r1.ebuild delete mode 100644 sci-mathematics/gimps/gimps-28.10.ebuild (limited to 'sci-mathematics/gimps') diff --git a/sci-mathematics/gimps/gimps-28.10-r1.ebuild b/sci-mathematics/gimps/gimps-28.10-r1.ebuild new file mode 100644 index 000000000000..34a48f2091c0 --- /dev/null +++ b/sci-mathematics/gimps/gimps-28.10-r1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit pax-utils systemd + +DESCRIPTION="The Great Internet Mersenne Prime Search" +HOMEPAGE="http://mersenne.org/" +SRC_URI=" + amd64? ( ftp://mersenne.org/gimps/p95v${PV/./}.linux64.tar.gz ) + x86? ( ftp://mersenne.org/gimps/p95v${PV/./}.linux32.tar.gz )" + +SLOT="0" +LICENSE="GIMPS" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" + +# Since there are no statically linked binaries for this version of mprime, +# and no static binaries for amd64 in general, we use the dynamically linked +# ones and try to cover the .so deps with the packages listed in RDEPEND. +DEPEND="" +RDEPEND="net-misc/curl" + +S="${WORKDIR}" +I="/opt/gimps" + +QA_PREBUILT="opt/gimps/mprime" + +DOCS="license.txt readme.txt stress.txt whatsnew.txt undoc.txt" + +src_install() { + dodir ${I} /var/lib/gimps + pax-mark m mprime + cp mprime "${D}/${I}" + fperms a-w "${I}/mprime" + fowners root:0 "${I}" + fowners root:0 "${I}/mprime" + + einstalldocs + + newinitd "${FILESDIR}/${PN}-28.9-init.d" gimps + newconfd "${FILESDIR}/${PN}-25.6-conf.d" gimps + + systemd_dounit "${FILESDIR}/${PN}.service" + systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles" "${PN}.conf" +} + +pkg_postinst() { + echo + einfo "You can use \`/etc/init.d/gimps start\` to start a GIMPS client in the" + einfo "background at boot. Have a look at /etc/conf.d/gimps and check some" + einfo "configuration options." + einfo + einfo "If you don't want to use the init script to start gimps, remember to" + einfo "pass it an additional command line parameter specifying where the data" + einfo "files are to be stored, e.g.:" + einfo " ${I}/mprime -w/var/lib/gimps" + echo +} + +pkg_postrm() { + echo + einfo "GIMPS data files were not removed." + einfo "Remove them manually from /var/lib/gimps/" + echo +} diff --git a/sci-mathematics/gimps/gimps-28.10.ebuild b/sci-mathematics/gimps/gimps-28.10.ebuild deleted file mode 100644 index 34a48f2091c0..000000000000 --- a/sci-mathematics/gimps/gimps-28.10.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 - -inherit pax-utils systemd - -DESCRIPTION="The Great Internet Mersenne Prime Search" -HOMEPAGE="http://mersenne.org/" -SRC_URI=" - amd64? ( ftp://mersenne.org/gimps/p95v${PV/./}.linux64.tar.gz ) - x86? ( ftp://mersenne.org/gimps/p95v${PV/./}.linux32.tar.gz )" - -SLOT="0" -LICENSE="GIMPS" -KEYWORDS="-* ~amd64 ~x86" -IUSE="" - -# Since there are no statically linked binaries for this version of mprime, -# and no static binaries for amd64 in general, we use the dynamically linked -# ones and try to cover the .so deps with the packages listed in RDEPEND. -DEPEND="" -RDEPEND="net-misc/curl" - -S="${WORKDIR}" -I="/opt/gimps" - -QA_PREBUILT="opt/gimps/mprime" - -DOCS="license.txt readme.txt stress.txt whatsnew.txt undoc.txt" - -src_install() { - dodir ${I} /var/lib/gimps - pax-mark m mprime - cp mprime "${D}/${I}" - fperms a-w "${I}/mprime" - fowners root:0 "${I}" - fowners root:0 "${I}/mprime" - - einstalldocs - - newinitd "${FILESDIR}/${PN}-28.9-init.d" gimps - newconfd "${FILESDIR}/${PN}-25.6-conf.d" gimps - - systemd_dounit "${FILESDIR}/${PN}.service" - systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles" "${PN}.conf" -} - -pkg_postinst() { - echo - einfo "You can use \`/etc/init.d/gimps start\` to start a GIMPS client in the" - einfo "background at boot. Have a look at /etc/conf.d/gimps and check some" - einfo "configuration options." - einfo - einfo "If you don't want to use the init script to start gimps, remember to" - einfo "pass it an additional command line parameter specifying where the data" - einfo "files are to be stored, e.g.:" - einfo " ${I}/mprime -w/var/lib/gimps" - echo -} - -pkg_postrm() { - echo - einfo "GIMPS data files were not removed." - einfo "Remove them manually from /var/lib/gimps/" - echo -} -- cgit v1.2.3-65-gdbad