summaryrefslogtreecommitdiff
path: root/repo/util/pm-utils.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/util/pm-utils.xibuild')
-rw-r--r--repo/util/pm-utils.xibuild20
1 files changed, 20 insertions, 0 deletions
diff --git a/repo/util/pm-utils.xibuild b/repo/util/pm-utils.xibuild
new file mode 100644
index 0000000..a1347eb
--- /dev/null
+++ b/repo/util/pm-utils.xibuild
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+MAKEDEPS=(xmlto docbook-xml docbook-xsl)
+DEPS=(glibc bash procps)
+
+PKG_VER=1.4.1
+SOURCE=https://pm-utils.freedesktop.org/releases/pm-utils-$PKG_VER.tar.gz
+DESC="Utilities to manage suspend and hiberante powermanagement"
+
+build () {
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --docdir=/usr/share/doc/pm-utils-$PKG_VER &&
+ make
+
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+}