Patchwork [4/7] eee-acpi-scripts: tidy up recipe

login
register
mail settings
Submitter Paul Eggleton
Date Nov. 26, 2013, 2:41 p.m.
Message ID <65cc0b3709edb17320e972b099806a6952a13060.1385476873.git.paul.eggleton@linux.intel.com>
Download mbox | patch
Permalink /patch/62417/
State Accepted
Commit 79db9ae2b5fbb78e7fea91add1771023fc8c332a
Headers show

Comments

Paul Eggleton - Nov. 26, 2013, 2:41 p.m.
* Set SUMMARY instead of DESCRIPTION
* Move packaging variables to the end
* Fix spacing in LICENSE assignment
* Fix indenting

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta/recipes-bsp/eee-acpi-scripts/eee-acpi-scripts_git.bb | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

Patch

diff --git a/meta/recipes-bsp/eee-acpi-scripts/eee-acpi-scripts_git.bb b/meta/recipes-bsp/eee-acpi-scripts/eee-acpi-scripts_git.bb
index 5f613f6..c2a02aa 100644
--- a/meta/recipes-bsp/eee-acpi-scripts/eee-acpi-scripts_git.bb
+++ b/meta/recipes-bsp/eee-acpi-scripts/eee-acpi-scripts_git.bb
@@ -1,15 +1,13 @@ 
-DESCRIPTION = "eeePC specific ACPI scripts"
+SUMMARY = "eeePC specific ACPI scripts"
 HOMEPAGE = "http://alioth.debian.org/projects/debian-eeepc/"
 SECTION = "base"
 
-LICENSE="GPLv2"
+LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://debian/copyright;md5=77ef83ab5f4af938a93edb61f7b74f2c"
 
 SRCREV = "9d4cdedca25b396405f8587f9c4fbf8229e041c2"
 PV = "1.1.12+git${SRCPV}"
 
-RDEPENDS_${PN} = "pm-utils"
-
 SRC_URI = "git://git.debian.org/git/debian-eeepc/eeepc-acpi-scripts.git \
 	   file://remove-doc-check.patch \
 	   file://powerbtn.patch \
@@ -18,9 +16,9 @@  SRC_URI = "git://git.debian.org/git/debian-eeepc/eeepc-acpi-scripts.git \
 S = "${WORKDIR}/git"
 
 FILES_${PN} = "${datadir}/acpi-support/ \
-		${datadir}/eeepc-acpi-scripts \
-		${sysconfdir}/default/ \
-		${sysconfdir}/acpi/"
+               ${datadir}/eeepc-acpi-scripts \
+               ${sysconfdir}/default/ \
+               ${sysconfdir}/acpi/"
 
 do_install () {
 	install -d ${D}${sysconfdir}/default/
@@ -36,3 +34,6 @@  do_install () {
 	install -m 0644 ${WORKDIR}/policy-funcs ${D}${datadir}/acpi-support/
 	install -m 0644 ${S}/debian/eeepc-acpi-scripts.default* ${D}${sysconfdir}/default/
 }
+
+RDEPENDS_${PN} = "pm-utils"
+