summaryrefslogtreecommitdiff
path: root/repo/system/hwids.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-03-20 00:00:54 +0000
committerdavidovski <david@davidovski.xyz>2022-03-20 00:00:54 +0000
commit19b9a12a93a45cc02b31de9b40c45029fbf3c569 (patch)
treec2c415813d63b7773fa2a533789a1753b9fee724 /repo/system/hwids.xibuild
parent1daf71c2980b1920bbdc2f07af669ebf6f0f82d6 (diff)
changed the linux kernel configs
Diffstat (limited to 'repo/system/hwids.xibuild')
-rw-r--r--repo/system/hwids.xibuild20
1 files changed, 20 insertions, 0 deletions
diff --git a/repo/system/hwids.xibuild b/repo/system/hwids.xibuild
new file mode 100644
index 0000000..1cd6827
--- /dev/null
+++ b/repo/system/hwids.xibuild
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+MAKEDEPS="make eudev"
+DEPS=""
+
+PKG_VER=20210613
+SOURCE=https://github.com/gentoo/hwids/archive/hwids-$PKG_VER.tar.gz
+DESC="Hardware Identification databases"
+
+prepare () {
+ sed -i "s/install -p/install/g" Makefile
+}
+
+build () {
+ make UDEV=yes
+}
+
+package () {
+ make DESTDIR=$PKG_DEST DOCDIR="/usr/share/doc/hwids-$PKG_VER" MISCDIR="/usr/share/hwdata" UDEV=yes install
+}