From 2068710b9c288594d3d3886fe74e796764895ffb Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Fri, 19 Feb 2016 11:51:13 +0100 Subject: [PATCH] sys-power/hibernate-script: add 2.0 to fix multiarch build --- metadata/categories.conf | 1 + .../hibernate-script-2.0.exheres-0 | 25 +++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 packages/sys-power/hibernate-script/hibernate-script-2.0.exheres-0 diff --git a/metadata/categories.conf b/metadata/categories.conf index cfa4894..6bd2e30 100644 --- a/metadata/categories.conf +++ b/metadata/categories.conf @@ -18,6 +18,7 @@ net-www sci-mathematics sci-physics sys-apps +sys-power voip www-apps www-servers diff --git a/packages/sys-power/hibernate-script/hibernate-script-2.0.exheres-0 b/packages/sys-power/hibernate-script/hibernate-script-2.0.exheres-0 new file mode 100644 index 0000000..2d05054 --- /dev/null +++ b/packages/sys-power/hibernate-script/hibernate-script-2.0.exheres-0 @@ -0,0 +1,25 @@ +# Copyright 2008 Mike Kelly +# Distributed under the terms of the GPL v2 + +SUMMARY="Script to help do all the necessary voodoo for suspending to ram/disk on Linux" +HOMEPAGE="http://www.tuxonice.net/" +DOWNLOADS="http://www.tuxonice.net/downloads/all/${PNV}.tar.gz" + +LICENCES="GPL-2" +SLOT="0" +PLATFORMS="~amd64 ~x86" +MYOPTIONS="" + +DEPENDENCIES="" + +BUGS_TO="pioto@exherbo.org" + +src_install() { + PREFIX="/usr" \ + BASE_DIR="${IMAGE}" \ + MAN_DIR="${IMAGE}/usr/share/man" \ + DISTRIBUTION="gentoo" \ + SCRIPT_DEST="${IMAGE}/usr/$(exhost --target)/bin/hibernate" \ + edo sh ./install.sh +} +