2024-09-09 08:57:42 +00:00
|
|
|
SUMMARY = "eeePC specific ACPI scripts"
|
2024-09-09 08:52:07 +00:00
|
|
|
HOMEPAGE = "http://alioth.debian.org/projects/debian-eeepc/"
|
|
|
|
SECTION = "base"
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
LICENSE = "GPLv2"
|
2024-09-09 08:52:07 +00:00
|
|
|
LIC_FILES_CHKSUM = "file://debian/copyright;md5=77ef83ab5f4af938a93edb61f7b74f2c"
|
|
|
|
|
|
|
|
SRCREV = "9d4cdedca25b396405f8587f9c4fbf8229e041c2"
|
|
|
|
PV = "1.1.12+git${SRCPV}"
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
SRC_URI = "git://git.debian.org/git/debian-eeepc/eeepc-acpi-scripts.git \
|
2024-09-09 08:52:07 +00:00
|
|
|
file://remove-doc-check.patch \
|
|
|
|
file://powerbtn.patch \
|
|
|
|
file://policy-funcs "
|
|
|
|
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
|
|
|
|
FILES_${PN} = "${datadir}/acpi-support/ \
|
2024-09-09 08:57:42 +00:00
|
|
|
${datadir}/eeepc-acpi-scripts \
|
|
|
|
${sysconfdir}/default/ \
|
|
|
|
${sysconfdir}/acpi/"
|
2024-09-09 08:52:07 +00:00
|
|
|
|
|
|
|
do_install () {
|
|
|
|
install -d ${D}${sysconfdir}/default/
|
|
|
|
install -d ${D}${sysconfdir}/acpi/actions/
|
|
|
|
install -d ${D}${sysconfdir}/acpi/events/
|
|
|
|
install -d ${D}${sysconfdir}/acpi/lib/udev/rules.d
|
|
|
|
install -d ${D}${datadir}/eeepc-acpi-scripts/
|
|
|
|
install -d ${D}${datadir}/acpi-support/
|
|
|
|
install -m 644 ${S}/events/* ${D}${sysconfdir}/acpi/events/
|
|
|
|
install -m 644 ${S}/lib/udev/rules.d/* ${D}${sysconfdir}/acpi/lib/udev/rules.d/
|
|
|
|
install ${S}/actions/* ${D}${sysconfdir}/acpi/actions/
|
|
|
|
install -m 0644 ${S}/acpilib/functions.sh ${D}${datadir}/eeepc-acpi-scripts/
|
|
|
|
install -m 0644 ${WORKDIR}/policy-funcs ${D}${datadir}/acpi-support/
|
|
|
|
install -m 0644 ${S}/debian/eeepc-acpi-scripts.default* ${D}${sysconfdir}/default/
|
|
|
|
}
|
2024-09-09 08:57:42 +00:00
|
|
|
|
|
|
|
RDEPENDS_${PN} = "pm-utils"
|
|
|
|
|