2023-10-23 22:44:47 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
2023-10-24 16:00:57 +00:00
|
|
|
# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS)
|
2023-04-01 12:23:19 +00:00
|
|
|
|
|
|
|
PKG_NAME="quirks"
|
2023-05-01 21:16:24 +00:00
|
|
|
PKG_VERSION=""
|
2023-04-01 12:23:19 +00:00
|
|
|
PKG_ARCH="any"
|
2023-10-23 22:44:47 +00:00
|
|
|
PKG_LICENSE="GPLv2"
|
2023-04-01 12:23:19 +00:00
|
|
|
PKG_SITE=""
|
|
|
|
PKG_URL=""
|
2023-09-20 02:14:32 +00:00
|
|
|
PKG_DEPENDS_TARGET="toolchain autostart ioport ectool"
|
2023-04-01 12:23:19 +00:00
|
|
|
PKG_SHORTDESC="Quirks is a simple package that provides device quirks."
|
|
|
|
PKG_IS_ADDON="no"
|
|
|
|
PKG_AUTORECONF="no"
|
|
|
|
PKG_TOOLCHAIN="manual"
|
|
|
|
|
|
|
|
makeinstall_target() {
|
2023-07-25 21:06:19 +00:00
|
|
|
mkdir -p ${INSTALL}/usr/lib/autostart/quirks/{platforms,devices}
|
|
|
|
cp -r ${PKG_DIR}/devices/* ${INSTALL}/usr/lib/autostart/quirks/devices
|
|
|
|
if [ -d "${PKG_DIR}/platforms/${DEVICE}" ]
|
|
|
|
then
|
|
|
|
cp -r ${PKG_DIR}/platforms/* ${INSTALL}/usr/lib/autostart/quirks/platforms
|
|
|
|
fi
|
2023-04-01 12:23:19 +00:00
|
|
|
chmod -R 0755 ${INSTALL}/usr/lib/autostart/quirks
|
|
|
|
}
|