mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-12-15 05:09:55 +00:00
21 lines
765 B
Makefile
21 lines
765 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
# Copyright (C) 2022-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="hwdata"
|
|
PKG_VERSION="0.380"
|
|
PKG_SHA256="e5ca061d9e0b9b177bed8d16f94b4cd54ce9eebd1ec115f7cf2174d3a6052049"
|
|
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
|
|
}
|