commit: ed5de2490975d8809e955c335664b5090012b613 Author: Justin Lecher <jlec <AT> gentoo <DOT> org> AuthorDate: Wed Nov 12 10:18:08 2014 +0000 Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org> CommitDate: Wed Nov 12 10:18:08 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=ed5de249
sys-cluster/blcr: Bump to EAPI=5; drop old Package-Manager: portage-2.2.14 --- sys-cluster/blcr/ChangeLog | 6 +++- sys-cluster/blcr/blcr-0.8.2.ebuild | 57 -------------------------------------- sys-cluster/blcr/blcr-0.8.4.ebuild | 19 ++++++------- 3 files changed, 14 insertions(+), 68 deletions(-) diff --git a/sys-cluster/blcr/ChangeLog b/sys-cluster/blcr/ChangeLog index 8b36645..e8b87ca 100644 --- a/sys-cluster/blcr/ChangeLog +++ b/sys-cluster/blcr/ChangeLog @@ -1,7 +1,11 @@ # ChangeLog for sys-cluster/blcr -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 12 Nov 2014; Justin Lecher <[email protected]> -blcr-0.8.2.ebuild, + blcr-0.8.4.ebuild: + Bump to EAPI=5; drop old + 03 Mar 2013; Justin Lecher <[email protected]> blcr-0.8.4.ebuild, metadata.xml: Drop useless blank line diff --git a/sys-cluster/blcr/blcr-0.8.2.ebuild b/sys-cluster/blcr/blcr-0.8.2.ebuild deleted file mode 100644 index d461f5a..0000000 --- a/sys-cluster/blcr/blcr-0.8.2.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit linux-mod - -DESCRIPTION="Berkeley Lab Checkpoint/Restart for Linux" -HOMEPAGE="https://ftg.lbl.gov/projects/CheckpointRestart" -SRC_URI="https://ftg.lbl.gov/assets/projects/CheckpointRestart/downloads/"${PN}"-"${PV}".tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" -DEPEND="" -RDEPEND="" - -MAKEOPTS="${MAKEOPTS} -j1" - -pkg_setup() { - local msg - linux-info_pkg_setup - - # kernel version check - if kernel_is gt 2 6 30 - then - eerror "${PN} is being developed and tested up to linux-2.6.30." - 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}" - 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 - emake DESTDIR="${D}" install || die "binaries install failed" - cd "${S}"/libcr || die - emake DESTDIR="${D}" install || die "libcr install failed" - cd "${S}"/man || die - emake DESTDIR="${D}" install || die "man install failed" - cd "${S}"/include || die - emake DESTDIR="${D}" install || die "headers install failed" - 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" -} diff --git a/sys-cluster/blcr/blcr-0.8.4.ebuild b/sys-cluster/blcr/blcr-0.8.4.ebuild index 05c3e0d..3c30562 100644 --- a/sys-cluster/blcr/blcr-0.8.4.ebuild +++ b/sys-cluster/blcr/blcr-0.8.4.ebuild @@ -2,18 +2,18 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ +EAPI=5 + inherit linux-mod DESCRIPTION="Berkeley Lab Checkpoint/Restart for Linux" HOMEPAGE="https://ftg.lbl.gov/projects/CheckpointRestart" -SRC_URI="https://ftg.lbl.gov/assets/projects/CheckpointRestart/downloads/"${PN}"-"${PV}".tar.gz" +SRC_URI="https://ftg.lbl.gov/assets/projects/CheckpointRestart/downloads/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND="" -RDEPEND="" MAKEOPTS="${MAKEOPTS} -j1" @@ -24,12 +24,11 @@ pkg_setup() { linux-info_pkg_setup # kernel version check - if kernel_is gt 2 6 38 - then + if kernel_is gt 2 6 38; then eerror "${PN} is being developed and tested up to linux-2.6.38." 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}" + die "Wrong kernel version ${KV_FULL}" fi linux-mod_pkg_setup @@ -42,13 +41,13 @@ pkg_setup() { src_install() { dodoc README NEWS cd "${S}"/util || die - emake DESTDIR="${D}" install || die "binaries install failed" + emake DESTDIR="${D}" install cd "${S}"/libcr || die - emake DESTDIR="${D}" install || die "libcr install failed" + emake DESTDIR="${D}" install cd "${S}"/man || die - emake DESTDIR="${D}" install || die "man install failed" + emake DESTDIR="${D}" install cd "${S}"/include || die - emake DESTDIR="${D}" install || die "headers install failed" + emake DESTDIR="${D}" install linux-mod_src_install }
