summaryrefslogtreecommitdiff
path: root/repo/lshw/lshw.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-09 14:35:52 +0100
committerdavidovski <david@davidovski.xyz>2022-06-09 14:35:52 +0100
commitd1fc3393cca72e8e432f827f7624e38734fad6dc (patch)
tree7b971fbfc203ff017ad78852476bfcccee170971 /repo/lshw/lshw.xibuild
parentccc722b7ed330198d82a3cf28ead76d6d107a70a (diff)
moved firmware to separate pacakges
Diffstat (limited to 'repo/lshw/lshw.xibuild')
-rw-r--r--repo/lshw/lshw.xibuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/repo/lshw/lshw.xibuild b/repo/lshw/lshw.xibuild
new file mode 100644
index 0000000..9316489
--- /dev/null
+++ b/repo/lshw/lshw.xibuild
@@ -0,0 +1,34 @@
+#!/bin/sh
+
+NAME="lshw"
+DESC="Hardware Lister"
+
+MAKEDEPS="sqlite3 linux-headers"
+
+PKG_VER=B.02.19.2
+SOURCE="https://ezix.org/software/files/lshw-$PKG_VER.tar.gz"
+
+ADDITIONAL="
+15565229509455527de9ce7cbb9530e2b31d043b.patch
+2b1c730b493d647bbab4854713571458e82a81e7.patch
+fix-musl-sc_long_bit.patch
+wrapper-for-basename.patch
+"
+
+prepare () {
+ apply_patches
+ sed -i 's/install -p/install/' src/Makefile
+}
+
+build() {
+ make RPM_OPT_FLAGS=-DNONLS
+}
+
+check() {
+ ./src/lshw -version
+}
+
+package() {
+ make DESTDIR="$PKG_DEST" install
+}
+