summaryrefslogtreecommitdiff
path: root/repo/sysfsutils
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-07-15 00:52:21 +0100
committerdavidovski <david@davidovski.xyz>2022-07-15 00:52:21 +0100
commit9a26d3fdc7fca2df6f824b56034ab9a823e898d8 (patch)
tree278bbf05c72536a30e701eebbd3546ba137543e7 /repo/sysfsutils
parentf6332a43c35387c4a2dea1746be5fd092890ae0e (diff)
added python deps for libvirt
Diffstat (limited to 'repo/sysfsutils')
-rw-r--r--repo/sysfsutils/sysfsutils.xibuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/repo/sysfsutils/sysfsutils.xibuild b/repo/sysfsutils/sysfsutils.xibuild
new file mode 100644
index 0000000..9f40e36
--- /dev/null
+++ b/repo/sysfsutils/sysfsutils.xibuild
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+NAME="sysfsutils"
+DESC="System Utilities Based on Sysfs"
+
+MAKEDEPS="autoconf automake libtool"
+
+PKG_VER=2.1.1
+SOURCE="https://github.com/linux-ras/sysfsutils/archive/v$PKG_VER.tar.gz"
+
+prepare() {
+ apply_patches
+ ./autogen
+}
+
+build() {
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man
+ make
+}
+
+package() {
+ make DESTDIR="$PKG_DEST" install
+ install -Dm0644 COPYING -t "$PKG_DEST"/usr/share/licenses/"sysfsutils"
+}
+