summaryrefslogtreecommitdiff
path: root/meta/packages/eee-acpi-scripts/eee-acpi-scripts_git.bb
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@openedhand.com>2008-09-25 14:58:13 +0000
committerSamuel Ortiz <sameo@openedhand.com>2008-09-25 14:58:13 +0000
commit4a91a284b528c06d6132a8bba2d1e5efc6936926 (patch)
treea425e558d3e34093b8bfab2055e572c7284a8748 /meta/packages/eee-acpi-scripts/eee-acpi-scripts_git.bb
parentd3636b1f0cdc3489066c9c9dc5cdbf832429bb83 (diff)
downloadopenembedded-core-4a91a284b528c06d6132a8bba2d1e5efc6936926.tar.gz
openembedded-core-4a91a284b528c06d6132a8bba2d1e5efc6936926.tar.bz2
openembedded-core-4a91a284b528c06d6132a8bba2d1e5efc6936926.zip
eee-acpi-scripts: Initial commit
eeePC specific ACPI hooks. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5272 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/eee-acpi-scripts/eee-acpi-scripts_git.bb')
-rw-r--r--meta/packages/eee-acpi-scripts/eee-acpi-scripts_git.bb35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/packages/eee-acpi-scripts/eee-acpi-scripts_git.bb b/meta/packages/eee-acpi-scripts/eee-acpi-scripts_git.bb
new file mode 100644
index 0000000000..84cf8a0859
--- /dev/null
+++ b/meta/packages/eee-acpi-scripts/eee-acpi-scripts_git.bb
@@ -0,0 +1,35 @@
+SECTION = "base"
+DESCRIPTION = "eeePC specific ACPI scripts"
+LICENSE="GPL"
+
+SRCREV = "df785afdacedf869b20fb88a793c13b539819270"
+
+PR = "r2"
+
+RDEPENDS = "pm-utils"
+
+SRC_URI = "git://git.debian.org/git/debian-eeepc/eeepc-acpi-scripts.git;protocol=git \
+ file://remove-doc-check.patch;patch=1 \
+ file://policy-funcs "
+
+S = "${WORKDIR}/git"
+
+FILES_${PN} = "${datadir}/acpi-support/ \
+ ${datadir}/eeepc-acpi-scripts \
+ ${sysconfdir}/default/ \
+ ${sysconfdir}/acpi/"
+
+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/
+ 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/* ${D}${sysconfdir}/acpi/lib/
+ install ${S}/actions/* ${D}${sysconfdir}/acpi/actions/
+ install -m 0644 ${S}/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/
+}