summaryrefslogtreecommitdiff
path: root/repo/dmidecode/dmidecode.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-27 23:09:07 +0100
committerdavidovski <david@davidovski.xyz>2022-06-27 23:09:07 +0100
commitf6332a43c35387c4a2dea1746be5fd092890ae0e (patch)
treed6599f63de04096f3fc21a98e0b3bb39d55a3531 /repo/dmidecode/dmidecode.xibuild
parentf13e0cac13f90f7f57bce3b26b2e6383de6e4ad2 (diff)
added lf and iptables
Diffstat (limited to 'repo/dmidecode/dmidecode.xibuild')
-rw-r--r--repo/dmidecode/dmidecode.xibuild23
1 files changed, 23 insertions, 0 deletions
diff --git a/repo/dmidecode/dmidecode.xibuild b/repo/dmidecode/dmidecode.xibuild
new file mode 100644
index 0000000..1ab5186
--- /dev/null
+++ b/repo/dmidecode/dmidecode.xibuild
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+NAME="dmidecode"
+DESC="A utility for reporting system hardware as described by BIOS"
+
+MAKEDEPS=""
+
+PKG_VER=3.3
+SOURCE="https://download.savannah.gnu.org/releases/dmidecode/dmidecode-$PKG_VER.tar.xz"
+
+prepare() {
+ apply_patches
+ sed -e '/^PROGRAMS !=/d' -e 's/-O2/-Os/' -i Makefile
+}
+
+build() {
+ make prefix=/usr
+}
+
+package() {
+ make prefix=/usr DESTDIR="$PKG_DEST" install
+}
+