Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (3f337e097eeeb9a94dc02057800bffeab4f52ec6)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (3f337e097eeeb9a94dc02057800bffeab4f52ec6)
  • Date: Tue, 2 Aug 2022 05:19:33 +0000

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

ChangeLog | 3 +++
utils/zzz/BUILD | 5 +++++
utils/zzz/DEPENDS | 6 ++++++
utils/zzz/DETAILS | 14 ++++++++++++++
utils/zzz/HISTORY | 2 ++
utils/zzz/INSTALL | 5 +++++
utils/zzz/PRE_BUILD | 6 ++++++
7 files changed, 41 insertions(+)

New commits:
commit 3f337e097eeeb9a94dc02057800bffeab4f52ec6
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

zzz: new spell, simple program to suspend or hibernate your computer

diff --git a/ChangeLog b/ChangeLog
index 0c40b86..b474787 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2022-08-01 Vlad Glagolev <stealth AT sourcemage.org>
+ * utils/zzz: new spell, simple program to suspend or hibernate your
computer
+
2022-07-31 Ismael Luceno <ismael AT sourcemage.org>
* libs/libt3highlight: new spell, syntax-highlighting library
* libs/libt3key: new spell, terminal-based keyboard handling library
diff --git a/utils/zzz/BUILD b/utils/zzz/BUILD
new file mode 100755
index 0000000..75f8fd3
--- /dev/null
+++ b/utils/zzz/BUILD
@@ -0,0 +1,5 @@
+if ! is_depends_enabled ${SPELL} asciidoctor; then
+ make build-exec ${OPTS}
+else
+ make ${OPTS}
+fi
diff --git a/utils/zzz/DEPENDS b/utils/zzz/DEPENDS
new file mode 100755
index 0000000..ddf7d99
--- /dev/null
+++ b/utils/zzz/DEPENDS
@@ -0,0 +1,6 @@
+optional_depends llvm \
+ "CC=clang" \
+ "" \
+ "to build with clang" &&
+
+optional_depends asciidoctor "" "" "for building man pages"
diff --git a/utils/zzz/DETAILS b/utils/zzz/DETAILS
new file mode 100755
index 0000000..5bf56b5
--- /dev/null
+++ b/utils/zzz/DETAILS
@@ -0,0 +1,14 @@
+ SPELL=zzz
+ VERSION=0.1.1
+ SOURCE=${SPELL}-${VERSION}.tar.gz
+
SOURCE_URL[0]=https://github.com/jirutka/${SPELL}/archive/v${VERSION}.tar.gz
+
SOURCE_HASH=sha512:34a7eda018072b0920405d29763610a019367a6c9aef563524d52719517a135fd09a0feef4bcf054ed460e5040b44ec80c8f72c8a6efb4a9735c2edccb862d70
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE=https://github.com/jirutka/zzz
+ LICENSE[0]=MIT
+ ENTERED=20220801
+ SHORT="simple program to suspend or hibernate your computer"
+cat << EOF
+zzz is a simple program to suspend or hibernate your computer. It supports
+hooks before and after suspending.
+EOF
diff --git a/utils/zzz/HISTORY b/utils/zzz/HISTORY
new file mode 100644
index 0000000..5fe0a86
--- /dev/null
+++ b/utils/zzz/HISTORY
@@ -0,0 +1,2 @@
+2022-08-01 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS, DEPENDS, BUILD, INSTALL: created spell, version 0.1.1
diff --git a/utils/zzz/INSTALL b/utils/zzz/INSTALL
new file mode 100755
index 0000000..8fef3c2
--- /dev/null
+++ b/utils/zzz/INSTALL
@@ -0,0 +1,5 @@
+if ! is_depends_enabled ${SPELL} asciidoctor; then
+ make PREFIX="${INSTALL_ROOT}/usr" install-conf install-exec
+else
+ make PREFIX="${INSTALL_ROOT}/usr"
+fi
diff --git a/utils/zzz/PRE_BUILD b/utils/zzz/PRE_BUILD
new file mode 100755
index 0000000..f79fd19
--- /dev/null
+++ b/utils/zzz/PRE_BUILD
@@ -0,0 +1,6 @@
+default_pre_build &&
+cd "${SOURCE_DIRECTORY}" &&
+
+if spell_ok gcc && is_version_less $(installed_version gcc) 4.8; then
+ sedit "s:-std=c11:-std=c99:" Makefile
+fi



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (3f337e097eeeb9a94dc02057800bffeab4f52ec6), Vlad Glagolev, 08/02/2022

Archive powered by MHonArc 2.6.24.

Top of Page