mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
hwinfo: add new package
add hwinfo package, it is a complete system hardware detection tool, similar to lshw but is written in C and has minimal dependencies. It is part of core SUSE Linux applications like Yast installer and system configurator tool so it's regularly maintained. Signed-off-by: Alberto Bursi <bobafetthotmail@gmail.com>
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
hardcode version of hwinfo, this must be changed in sync
|
||||
with hwinfo version changes when updating the package
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -12,12 +12,8 @@
|
||||
|
||||
GIT2LOG := $(shell if [ -x ./git2log ] ; then echo ./git2log --update ; else echo true ; fi)
|
||||
GITDEPS := $(shell [ -d .git ] && echo .git/HEAD .git/refs/heads .git/refs/tags)
|
||||
-BRANCH := $(shell [ -d .git ] && git branch | perl -ne 'print $$_ if s/^\*\s*//')
|
||||
-ifdef HWINFO_VERSION
|
||||
-VERSION := $(shell echo ${HWINFO_VERSION} > VERSION; cat VERSION)
|
||||
-else
|
||||
-VERSION := $(shell $(GIT2LOG) --version VERSION ; cat VERSION)
|
||||
-endif
|
||||
+BRANCH := master
|
||||
+VERSION := $(shell echo 21.7 > VERSION; cat VERSION)
|
||||
PREFIX := hwinfo-$(VERSION)
|
||||
|
||||
include Makefile.common
|
||||
Reference in New Issue
Block a user