From d1fc3393cca72e8e432f827f7624e38734fad6dc Mon Sep 17 00:00:00 2001 From: davidovski Date: Thu, 9 Jun 2022 14:35:52 +0100 Subject: moved firmware to separate pacakges --- repo/lshw/lshw.xibuild | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 repo/lshw/lshw.xibuild (limited to 'repo/lshw/lshw.xibuild') 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 +} + -- cgit v1.2.1