mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
hwdata: initial package
This commit is contained in:
parent
b89dabfc84
commit
0435fec0db
20
packages/wayland/lib/hwdata/package.mk
Normal file
20
packages/wayland/lib/hwdata/package.mk
Normal file
@ -0,0 +1,20 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
# Copyright (C) 2022-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="hwdata"
|
||||
PKG_VERSION="0.365"
|
||||
PKG_SHA256="d6ae2436a69c6f5e04d926f5d753a99d90deb864065a2e2f8a8eda87b70dcdd5"
|
||||
PKG_LICENSE="GPL-2.0"
|
||||
PKG_SITE="https://github.com/vcrhonek/hwdata"
|
||||
PKG_URL="https://github.com/vcrhonek/hwdata/archive/refs/tags/v${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="hwdata contains various hardware identification and configuration data, such as the pci.ids and usb.ids databases"
|
||||
|
||||
pre_configure_target() {
|
||||
# hwdata fails to build in subdirs
|
||||
cd ${PKG_BUILD}
|
||||
rm -rf .${TARGET_NAME}
|
||||
|
||||
sed -i "s&@prefix@|&@prefix@|${PKG_INSTALL}&" Makefile
|
||||
sed -i "s&prefix=@prefix@&prefix=/usr&" hwdata.pc.in
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user