aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Mokrejš <mmokrejs@fold.natur.cuni.cz>2016-11-21 16:38:51 +0100
committerMartin Mokrejš <mmokrejs@fold.natur.cuni.cz>2016-11-21 16:38:51 +0100
commite46f2838ad27048594b5eee0a484162f43e68b56 (patch)
treeb9456a456a12b10c96a28000bce10937c5806628 /sys-cluster
parentsci-biology/Jannovar-bin: replaced by sci-biology/jannovar, deleting (diff)
downloadsci-e46f2838ad27048594b5eee0a484162f43e68b56.tar.gz
sci-e46f2838ad27048594b5eee0a484162f43e68b56.tar.bz2
sci-e46f2838ad27048594b5eee0a484162f43e68b56.zip
sys-cluster/blcr: version bump to Jan 2013 version
Package-Manager: portage-2.3.2
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/blcr/Manifest1
-rw-r--r--sys-cluster/blcr/blcr-0.8.4.ebuild2
-rw-r--r--sys-cluster/blcr/blcr-0.8.5.ebuild59
3 files changed, 61 insertions, 1 deletions
diff --git a/sys-cluster/blcr/Manifest b/sys-cluster/blcr/Manifest
index 4c546ffdd..eec239834 100644
--- a/sys-cluster/blcr/Manifest
+++ b/sys-cluster/blcr/Manifest
@@ -1 +1,2 @@
DIST blcr-0.8.4.tar.gz 905080 SHA256 d851da66627d9212ac37bc9ea2aba40008ff2dc51d45dbd395ca2e403c3d78cf SHA512 828e950ca5f5e1d88428c009f710e9ebdae7292e298b2a6c59bcc74a919382427226f9fec7312ed81618b70e96509ca7815ec4a833a6a6922d8ecdcff3821e97 WHIRLPOOL 4a42fddfffd226551008dd200a24b57db3b30cd117e58cb7bd22479f21f7d713cdedcc05a2bb572d1caee955dcf6d5667b2903062f1f66206d9a4fba5942d064
+DIST blcr-0.8.5.tar.gz 921596 SHA256 60c969b3870c793c3f4af7241a0418b5a97e4bd954d316ed2de1e4e56c024805 SHA512 9089b9f04d948f6a470dd54026167ca8a4330b51f0ee74a2dd98b5cf17d9090950b82f66727a7d09da746a450b061c0ac9991e21de23dd596180be469c28d795 WHIRLPOOL 0f7e3b6b86fe1f305786d597f75319be7e918ed554a3484a7cc427fa085c62efb71d76301c9bb38f24fdf27077e0995c9c02a10f2a266b51236ede2ff931d156
diff --git a/sys-cluster/blcr/blcr-0.8.4.ebuild b/sys-cluster/blcr/blcr-0.8.4.ebuild
index 8145dd015..ddea68f99 100644
--- a/sys-cluster/blcr/blcr-0.8.4.ebuild
+++ b/sys-cluster/blcr/blcr-0.8.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
diff --git a/sys-cluster/blcr/blcr-0.8.5.ebuild b/sys-cluster/blcr/blcr-0.8.5.ebuild
new file mode 100644
index 000000000..4a4046c3e
--- /dev/null
+++ b/sys-cluster/blcr/blcr-0.8.5.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit linux-mod
+
+DESCRIPTION="Berkeley Lab Checkpoint/Restart for Linux"
+HOMEPAGE="https://ftg.lbl.gov/projects/CheckpointRestart"
+SRC_URI="https://crd.lbl.gov/assets/Uploads/FTG/Projects/CheckpointRestart/downloads/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+MAKEOPTS="${MAKEOPTS} -j1"
+
+# up to kernel 2.6.38
+
+pkg_setup() {
+ local msg
+ linux-info_pkg_setup
+
+ # kernel version check
+ if kernel_is gt 3 8; then
+ eerror "${PN} is being developed and tested up to linux-3.7.x."
+ eerror "It is known not to work with 3.8.x kernels"
+ eerror "Make sure you have a proper kernel version and point"
+ eerror " /usr/src/linux symlink or env variable KERNEL_DIR to it!"
+ die "Wrong kernel version ${KV_FULL}"
+ fi
+
+ linux-mod_pkg_setup
+ MODULE_NAMES="blcr(blcr::${S}/cr_module/kbuild)
+ blcr_imports(blcr::${S}/blcr_imports/kbuild)"
+ BUILD_TARGETS="clean all"
+ ECONF_PARAMS="--with-kernel=${KV_DIR}"
+}
+
+src_install() {
+ dodoc README NEWS
+ cd "${S}"/util || die
+ default
+ cd "${S}"/libcr || die
+ default
+ cd "${S}"/man || die
+ default
+ cd "${S}"/include || die
+ default
+ linux-mod_src_install
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+ einfo "Be sure to add blcr to your modules.autoload.d to"
+ einfo "ensure that the modules get loaded on your next boot"
+}